I want to use the SDK with Visual Studio 2019
Windows 10 cannot find downloaded dotnet SDK
I have downloaded the .NET 5 SDK from the Microsoft site and run the downloaded file dotnet-sdk-5.0.403-win-x64.exe. This has set up a folder c:\program files\dotnet\sdk\5.0.403. I think I have the latest dotnet 5 SDK installed.
But it appears Windows 10 cannot find this SDK
I have used the command line prompt dotnet --info
This lists installed runtimes but says that no SDKs were found
I have checked the environment variables
I had C:\Program Files\dotnet\ in PATH
I have also tried it with C:\Program Files\dotnet\sdk\5.0.403\ but this does not make any difference
2 answers
Sort by: Most helpful
-
-
Limitless Technology 39,796 Reputation points
2021-11-17T19:07:47.017+00:00 Check if the Path in the system's environment variables is correctly configured for your system.
Given that there's always one shared host that moves forward, it will either pick the x86 or the x64 version on your machine. This issue of not picking the right one might happen if you install multiple/different versions.
Run the where.exe dotnet command to see where the host is looking for the SDK
You can also follow the methods as per this link https://learn.microsoft.com/en-us/dotnet/core/install/windows?tabs=net60
---------
--If the reply is helpful, please Upvote and Accept it as an answer--