In this article we discuss how to get rid of the issue "Visual Studio 2019 unable to locate .Net Core SDK".
Sometime you face the issue like above in VS 2019 due to the 32 bit and 64 bit OS. And when you run in the command prompt with dotnet --info
You can see when you search that then you can see that No SDK is installed but all SDK are installed in your system.
What is the Exact Issue
Okay, the issue is due to conflict the dotnet SDK folder under in both C:\Program Files and C:\Program Files (x86).
You should remove one dotnet folder according to Operating System bit. If it is 32-bit then delete from C:\Program Files and if the system is 64-bit then it should remove from C:\Program Files (x86) .In my case my system is 64-bit OS so I remove the dotnet folder under C:\Program Files (x86)
Finally, everything is working fine and you can see now all the SDKS are listed below.
😃Thanks for reading.
Post a Comment