Home > front end >  Why can't VSCode's C# extension find dotnet?
Why can't VSCode's C# extension find dotnet?

Time:10-22

It appears that the C# extension can't find my dotnet path. When I open a C# file, this is what I see.

I've tried reinstalling the extension, the SDK, even VSCode. I checked the PATH, everything looks fine. Why am I seeing this error?

P.S. When I run dotnet --list-sdks in a command prompt, it prints an empty line, even after installing the SDK.

CodePudding user response:

Turns out, it was due to me having multiple entries in the PATH. Thanks @DirkTrilsbeek!

  • Related