microsoft / vscode-dotnettools

This is a feedback repository to capture issues logged for the C# Dev Kit and related extensions from Visual Studio Code
Other
234 stars 13 forks source link

[BUG] <The .NET Core SDK cant be located> #1477

Open LSUNDIN opened 2 months ago

LSUNDIN commented 2 months ago

Describe the Issue

Im trying to install NET. SDK and when I reload my visual studio code I get this message:

The .NET Core SDK cannot be located: Error running dotnet --info: Error: Command failed: dotnet --info 'dotnet' is not recognized as an internal or external command, operable program or batch file. 'dotnet' is not recognized as an internal or external command, operable program or batch file. . .NET Core debugging will not be enabled. Make sure the .NET Core SDK is installed and is on the path.

How do I fix this?

Steps To Reproduce

No response

Expected Behavior

No response

Environment Information

No response

nagilson commented 2 months ago

How did you install the .NET SDK? Was it through VS Code?