/OmniSharp/omnisharp-vscode/wiki/Troubleshooting:-‘-Core-SDK-cannot-be-located.’-errors
/OmniSharp/omnisharp-vscode/wiki/Troubleshooting:-‘-Core-SDK-cannot-be-located.’-errors
When I open my vs code program I get this message: The .NET Core SDK cannot be located. .NET Core debugging will not be enabled. Make sure the .NET Core SDK is installed and is on the path.
First Make sure the .NET Core SDK is installed and is on the path.
Start a command prompt:
Hit WinKey+R to bring up the Windows run dialog
Type in
When the command prompt starts, type in dotnet.
If the result of running is that a path to is printed (example: C:\Program Files\dotnet\) then the .NET SDK has successfully added itself to the Windows Path.
restart your computer. Everything would be fine.