dotnet / dotnet/sdk

Cannot find .NET SDK installation from PATH enviroment.

Open
#44,340 1 comment 1 reaction 1 assignee Claimed by @nagilson View on GitHub
Area-Install
Dominant language
C#
Stars
3.2k
Forks
1.3k
PR merge metrics
PR metrics pending

Description

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?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.