Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

dotnet is not recognized as the name of a cmdlet

We have downloaded and run DotNetCore.1.0.1-SDK.1.0.0.Preview2-003133-x64.exe. After having closed and reopened our command prompt, running dotnet gives the following output.

The term 'dotnet' is not recognized as the name of a cmdlet, function, script file, or operable program.

We have tried the following:

  1. Uninstall all versions of Visual Studio.
  2. Uninstall all versions of .NET Core.
  3. Repair C++ Redistributable 2015 x86 & x64
  4. Restart the computer.
  5. Then reinstall the .NET Core SDK.

This is the contents of C:/Program Files/dotnet

host   fxr sdk   1.0.0-preview2-003133 shared   Microsoft.NETCore.App swidtag   Microsoft .NET Core 1.0.1 - SDK 1.0.0 Preview 2-003133 (x64).swidtag 

Our PATH includes C:\Program Files\dotnet\

like image 548
Shaun Luttin Avatar asked Nov 12 '16 23:11

Shaun Luttin


People also ask

Where is dotnet EXE installed?

For reference, dotnet.exe is installed in %ProgramFiles%\dotnet on my system.


1 Answers

Also ensure that "C:\Program Files\dotnet" is part of the "path" system environment variable.

After uninstalling previous SDK versions, it had disappeared from mine.

like image 68
Papa Stahl Avatar answered Sep 17 '22 16:09

Papa Stahl