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 #627

Closed
egamma opened this issue Jul 27, 2016 · 7 comments
Closed

The .NET CLI tools cannot be located #627

egamma opened this issue Jul 27, 2016 · 7 comments

Comments

@egamma
Copy link
Contributor

egamma commented Jul 27, 2016

From @tobyee on July 27, 2016 5:56

  • VSCode Version: 1.3.1
  • OS Version: Win7-x64
  • dotnet Version: 1.0.0-beta-001598

Steps to Reproduce:

  1. cmd: mkdir demo & cd demo
  2. cmd: dotnet new
  3. cmd: dotnet restore
  4. cmd: code .

Error:

image

I'am sure that .NET Core SDK for Windows was installed and dotnet command can be execute in cmd.

See alse:

https://github.com/dotnet/cli/issues/3858

Copied from original issue: microsoft/vscode#9831

@gregg-miskelly
Copy link
Contributor

@tobyee do you have the latest version of the C# extension (check in the extensions panel)? Assuming so, what do you get from:

  1. Start->Run, cmd.exe
  2. where dotnet.exe
  3. dotnet --info

@tobyee
Copy link

tobyee commented Jul 28, 2016

@gregg-miskelly
Thanks for you tips. I found the reason.
It's because I have a old version cli tools installed that influence on the new one.

The old version install is:
old
The new version install is:
new

I uninstall the old one then it fixed.

@gregg-miskelly
Copy link
Contributor

@tobyee glad you solved your issue. I will close this issue then.

@Luckz
Copy link

Luckz commented Jan 23, 2018

Should this not warrant a warning added to the error message, that antique SDK versions can be the cause?

@gregg-miskelly
Copy link
Contributor

@Luckz if you are running into a problem related to this and would like some help, or have a concrete suggestion, please open a new issue.

@BjarkeCK
Copy link

BjarkeCK commented Feb 1, 2018

What do Linux users do?

@gregg-miskelly
Copy link
Contributor

@EliasCK if you are running into a problem related to this and would like some help, or have a concrete suggestion, please open a new issue so we can help understand what is going on on your machine.

@dotnet dotnet locked as resolved and limited conversation to collaborators Feb 1, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants