Skip to content

Cannot find .NET SDK installation from PATH enviroment. #44340

Open
@Cherryco75

Description

@Cherryco75

i am using Visual Studio code as an IDE and tring to code in C# i have installed the C#, C# Dev kit and .NET install tool extention for VSc and have installed different types of .NET SDK, so i dont think the problem lies there. i get several error messages from VSc:

1:
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.

2:
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.

3:
The .NET Core SDK cannot be located: Error running dotnet --info: Error: Command failed: dotnet --info The command “dotnet” is either misspelled or could not be found. The command “dotnet” is either misspelled or could not be found. . NET Core debugging will not be enabled. Make sure the .NET Core SDK is installed and is on the path.

(3rd is translated using google so might not be 100% correct)

i dont unterstand where the problem lies, what can i do to make it work?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions