C
C#2mo ago
λin

No installed .NET SDK was found on the computer.

No installed .NET SDK was found on the computer. If it is installed, make sure it can be found through the PATH environment variable. C# Dev Kit does not work without a supported version of SDK. After installing the SDK, you need restart the VS Code session, or the computer. Environment: MacOS 14.3, M3, 2024; Vs Code 1.96.2 Error message:
tarting Spawn .NET server...
Failed to find dotnet from path with "which dotnet".
Cannot find .NET SDK installation from PATH environment. C# DevKit extension would not work without a proper installation of the .NET SDK accessible through PATH environment. Rebooting might be necessary in some cases. Check the PATH environment logged in the C# DevKit logging window. In some cases, it could be affected how VS code was started.
PATH=/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:~/.dotnet/tools
Using local .NET runtime at "/Users/xin/Library/Application Support/Code/User/globalStorage/ms-dotnettools.vscode-dotnet-runtime/.dotnet/8.0.11~arm64~aspnetcore/dotnet"
.NET server started and IPC established in 982ms
Completed Spawn .NET server (1675ms)
Starting Initialize template service...
Completed Initialize template service (15270ms)
Starting Initialize template service...
Completed Initialize template service (155354ms)
tarting Spawn .NET server...
Failed to find dotnet from path with "which dotnet".
Cannot find .NET SDK installation from PATH environment. C# DevKit extension would not work without a proper installation of the .NET SDK accessible through PATH environment. Rebooting might be necessary in some cases. Check the PATH environment logged in the C# DevKit logging window. In some cases, it could be affected how VS code was started.
PATH=/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:~/.dotnet/tools
Using local .NET runtime at "/Users/xin/Library/Application Support/Code/User/globalStorage/ms-dotnettools.vscode-dotnet-runtime/.dotnet/8.0.11~arm64~aspnetcore/dotnet"
.NET server started and IPC established in 982ms
Completed Spawn .NET server (1675ms)
Starting Initialize template service...
Completed Initialize template service (15270ms)
Starting Initialize template service...
Completed Initialize template service (155354ms)
2 Replies
becquerel
becquerel2mo ago
Have you installed the SDK?
Mayor McCheese
Mayor McCheese2mo ago
Did you brew install it?

Did you find this page helpful?