在尝试Installing ASP.NET 5 on Windows的第3步时,我在Windows 7的命令提示符下出现以下错误。我安装了VS2015 Professional:PowerShell' is not recognized as an internal or external command, operable program or batch file.
答案 0 :(得分:0)
重新启动Windows 7后,该命令有效。以下是输出:
C:\Windows\system32>dnvm upgrade
Determining latest version
Downloading dnx-clr-win-x86.1.0.0-rc1-update1 from https://www.nuget.org/api/v2
Installing to C:\Users\myUserName\.dnx\runtimes\dnx-clr-win-x86.1.0.0-rc1-update1
Adding C:\Users\myUserName\.dnx\runtimes\dnx-clr-win-x86.1.0.0-rc1-update1\bin to pr
ocess PATH
Adding C:\Users\myUserName\.dnx\runtimes\dnx-clr-win-x86.1.0.0-rc1-update1\bin to us
er PATH
Setting alias 'default' to 'dnx-clr-win-x86.1.0.0-rc1-update1'