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:
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\
After again coming across this problem, we found the answer here.
Open Programs and Features, choose Microsoft Visual C++ Redistributable (x86), click Uninstall and then choose Repair. After repairing it (and the x64 version if you have it), reinstall or repair the installation of the .NET Core SDK 1.0.1.