Skip to content

The .NET CLI tools cannot be located #57

@Wezz19

Description

@Wezz19

After installing the C# extension VS Code gives this error message:
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.

There is a setting for C# which disables this warning.
"Suppress Dotnet Install Warning" found under "User Settings>Extensions>C# configuration"

But there is something wrong with this portable installation since when I type "dotnet new console" in the terminal I get this error:

dotnet : The term 'dotnet' is not recognized as the name of a cmdlet, function, script
 file, or operable program. Check the spelling of the name, or if a path was included,
 verify that the path is correct and try again.
At line:1 char:1
+ dotnet new console
+ ~~~~~~
    + CategoryInfo          : ObjectNotFound: (dotnet:String) [], CommandNotFoundExce 
   ption
    + FullyQualifiedErrorId : CommandNotFoundException

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions