Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The .NET CLI tools cannot be located #57

Open
Wezz19 opened this issue Feb 20, 2019 · 1 comment
Open

The .NET CLI tools cannot be located #57

Wezz19 opened this issue Feb 20, 2019 · 1 comment

Comments

@Wezz19
Copy link

Wezz19 commented Feb 20, 2019

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
@brisingraerowing
Copy link

If you're running the SDK off of the same drive, you need to add it to the PATH variable before running. I'm not sure how to do that though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants