dotnet / cli-lab

A guided tool will be provided to enable the controlled clean up of a system such that only the desired versions of the Runtime and SDKs remain.
MIT License
620 stars 56 forks source link

[NETSDKE2E][MAC] The version of .NET core runtimes display x64 in dotnet-core-uninstall list when installing one arm64 runtime on M1 #297

Open v-xiaofchen opened 6 months ago

v-xiaofchen commented 6 months ago

To Reproduce 1.Prepare a clean M1 2.install dotnet-core-uninstall(1.7.0) from tar

  1. 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.4 osx-arm64 runtime from https://dotnet.microsoft.com/en-us/download/dotnet/8.0

  1. Run "./dotnet-core-uninstall list" 6.check the output of dotnet-core-uninstall list

Expected Result: The version of .NET core runtimes should display arm64 in dotnet-core-uninstall list when installing one arm64 runtime on M1.

Actual Result: The version of .NET core runtimes display x64 in dotnet-core-uninstall list when installing one arm64 runtime on M1 image Dotnet --info after install the 8.0.4 osx-arm64 runtime image

v-xiaofchen commented 6 months ago

Another similarly issue, when install 8.0.4 (osx-x64) + 8.0.204(osx-arm64) on M1, reductant "Microsoft .NET Core Runtime 8.0.4(x64)" displays during 'dotnet-core-uninstall remove --runtime --all --force' output. image image

yinjiehe01 commented 2 weeks ago

Still repro on dotnet-core-uninstalll tool 1.7.550802 Image