cli-lab icon indicating copy to clipboard operation
cli-lab copied to clipboard

[NETSDKE2E][MAC] The version of .NET core runtimes are incorrect in dotnet-core-uninstall list when installing one arm SDK and one x64 runtime on M1

Open v-xiaofchen opened this issue 1 year ago • 2 comments

To Reproduce 1.Prepare a clean M1 2.install dotnet-core-uninstall(1.7.0) from tar 3. Use the following commands to install the tool:

mkdir -p ~/dotnet-core-uninstall
tar -zxvf dotnet-core-uninstall.tar.gz -C ~/dotnet-core-uninstall
cd ~/dotnet-core-uninstall
./dotnet-core-uninstall list

4.Install 8.0.3 osx-x64 + 8.0.204(osx-arm64) runtime from https://dotnet.microsoft.com/en-us/download/dotnet/8.0 5. Run "./dotnet-core-uninstall list" 6.check the output of dotnet-core-uninstall list

Expected Result: The version of .NET core runtimes are correct in dotnet-core-uninstall list when installing one arm SDK and one x64 runtime on M1.

Actual Result: The version of .NET core runtimes are incorrect in dotnet-core-uninstall list when installing one arm SDK and one x64 runtime on M1

Install 8.0.3 osx-x64 and dotnet --info image Then install 8.0.204(osx-arm64) and observer the dotnet-core-uninstall list output The version in dotnet-core-uninstall list is 8.0.4(x64) rather than 8.0.3(x64) image

v-xiaofchen avatar Apr 15 '24 09:04 v-xiaofchen

Another scene, when install mac-x64 like 8.0.203(osx-x64) on M1,it only disply the version of .NET in dotnet-core-uninstall list output,,not show the version of .NET core runtimes, is it expected? image

v-xiaofchen avatar Apr 15 '24 09:04 v-xiaofchen