I very recently upgraded to Windows 11, I am not sure if this is the source of the issue though.
My proccess:
- Installed .NET 5.0 SDK (v5.0.402) - Windows x64 Installer
- Opened Visual Studio Code (Version 1.61.2)
- Downloaded Extension (C# for Visual Studio Code (powered by OmniSharp))
- After instalation I recieve the following notification (It was not possible to find any installed .NET Core SDKs)
TroubleShooting steps taken:
Through command prompt located dotnet.
[ C:\Users\tim>where.exe dotnet C:\Program Files (x86)\dotnet\dotnet.exe C:\Program Files\dotnet\dotnet.exe ]
Restarted Computer
Uninstalled/Reinstalled .NET
Uninstalled/Reinstaled c# extension
My Pc -> settings ->advanced settings ->enviroment variables -> path -> dotnet is not listed, added manually. checked VS still not finding -> Restarted still not finding.