sdk icon indicating copy to clipboard operation
sdk copied to clipboard

After installing v10.0.100-rc.2 I can no longer run dotnet commands

Open grosubogdan opened this issue 1 year ago • 2 comments

Describe the bug

After installing v10.0.100-rc.2 I can no longer run dotnet commands. It seems all references to any SDKs dissapeared, including the one I just installed.

To Reproduce

Install SDK 10.0.100-rc.2 https://dotnet.microsoft.com/en-us/download/dotnet/thank-you/sdk-10.0.100-rc.2-windows-x64-installer

then try to see: dotnet --info

Host: Version: 10.0.0-rc.2.25502.107 Architecture: x86 Commit: 89c8f6a112 RID: win-x86

.NET SDKs installed: No SDKs were found.

.NET runtimes installed: Microsoft.AspNetCore.App 8.0.21 [C:\Program Files (x86)\dotnet\shared\Microsoft.AspNetCore.App] Microsoft.AspNetCore.App 9.0.10 [C:\Program Files (x86)\dotnet\shared\Microsoft.AspNetCore.App] Microsoft.AspNetCore.App 10.0.0-rc.2.25502.107 [C:\Program Files (x86)\dotnet\shared\Microsoft.AspNetCore.App] Microsoft.NETCore.App 5.0.17 [C:\Program Files (x86)\dotnet\shared\Microsoft.NETCore.App] Microsoft.NETCore.App 8.0.21 [C:\Program Files (x86)\dotnet\shared\Microsoft.NETCore.App] Microsoft.NETCore.App 9.0.10 [C:\Program Files (x86)\dotnet\shared\Microsoft.NETCore.App] Microsoft.NETCore.App 10.0.0-rc.2.25502.107 [C:\Program Files (x86)\dotnet\shared\Microsoft.NETCore.App] Microsoft.WindowsDesktop.App 5.0.17 [C:\Program Files (x86)\dotnet\shared\Microsoft.WindowsDesktop.App] Microsoft.WindowsDesktop.App 8.0.21 [C:\Program Files (x86)\dotnet\shared\Microsoft.WindowsDesktop.App] Microsoft.WindowsDesktop.App 9.0.10 [C:\Program Files (x86)\dotnet\shared\Microsoft.WindowsDesktop.App] Microsoft.WindowsDesktop.App 10.0.0-rc.2.25502.107 [C:\Program Files (x86)\dotnet\shared\Microsoft.WindowsDesktop.App]

Other architectures found: x64 [C:\Program Files\dotnet] registered at [HKLM\SOFTWARE\dotnet\Setup\InstalledVersions\x64\InstallLocation]

Environment variables: Not set

global.json file: Not found

Learn more: https://aka.ms/dotnet/info

Download .NET: https://aka.ms/dotnet/download

Exceptions (if any)

No Exception happened during install, I then tried to remove it and reinstall again, no luck.

Further technical details

Image

grosubogdan avatar Oct 17 '25 21:10 grosubogdan

I would suggest you to look into your PATH environment variable if C:\Program Files (x86)\dotnet happens to be before C:\Program Files\dotnet. If yes, then reorder them or remove C:\Program Files (x86)\dotnet altogether.

PetSerAl avatar Oct 18 '25 09:10 PetSerAl

You are correct that was the issue. ... But it was triggered somehow by the RC release.

grosubogdan avatar Oct 18 '25 09:10 grosubogdan