Why can I not see .NET SDKs'?
I installed C#, C# Dev Kit, and .NET Install Tool but whenever I try to run pnpm install in my project I get an error saying that no .NET SDK was found. I have no clue why it's not listing any SDK.


7 Replies
did you download and install a SDK from here? https://dotnet.microsoft.com/en-us/download
Microsoft
Download .NET (Linux, macOS, and Windows)
Free downloads for building and running .NET apps on Linux, macOS, and Windows. Runtimes, SDKs, and developer packs for .NET Framework, .NET, and ASP.NET.
I have

How did you install it?
Ok I found the issue, For some reason there were two dotnet folders. One in Program Files(x86) and another in Program Files. The dotnet folder in Program Files(x86) did not have a sdk file. I just deleted the dotnet folder in Program Files(x86) and the issue was resolved.
Ah, so an issue adjacent to $dotnetpath
* Open
powershell
in a terminal in admin mode as in the following video:
https://cdn.discordapp.com/attachments/569261465463160900/1157744344183341156/20230930-1822-10.7436061.mp4
* copy/paste the following script:
in case of an invalid setup detected, it will:
* tell you that it did (or not) detected an invalid Path
setup
* in case some action are require it will ask you to Press Enter to confirm
Sometimes Windows randomly decides to place the 32-bit .NET higher on the path than 64-bit