Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

VS Code error "The .NET CLI tools cannot be located..."

Visual Studio Code tells me "The .NET CLI tools cannot be located. .NET Core debugging will not be enabled. Make sure .NET CLI tools are installed and are on the path.". This prevents any code completion ect. can I fix this issue?

like image 745
Alice Edwards Avatar asked May 21 '18 17:05

Alice Edwards


People also ask

Where is .NET SDK located?

Navigate to C:\Program Files\dotnet\sdk and see if you can find folders associated with different sdk versions. If you can't find any folder there that means the sdk is not installed.

How do I know if .NET core runtime is installed?

You can see both the SDK versions and runtime versions with the command dotnet --info . You'll also get other environmental related information, such as the operating system version and runtime identifier (RID).


1 Answers

File>Preferences>Settings

"csharp.suppressDotnetInstallWarning": true,

It was worked for me enter image description here

like image 185
Dmitry Dronov Avatar answered Oct 04 '22 15:10

Dmitry Dronov