use*_*516 7 c# asp.net asp.net-core-mvc asp.net-core
当我使用ASP.NET Core 1.0创建默认的演示Web项目时,它使用global.json中的dnx-clr-win-x86.1.0.0-preview2-003121运行时.
Visual Studio 2015将要求我下载此运行时因为我没有安装它,但是在DNVM输出窗口中我收到以下错误:
There are no runtimes matching the name dnx-clr-win-x86 on feed https://www.nug
et.org/api/v2.
At C:\Program Files\Microsoft DNX\Dnvm\dnvm.ps1:619 char:9
+ throw "There are no runtimes matching the name $RuntimeId on ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : OperationStopped: (There are no ru...get.org/api
/v2.:String) [], RuntimeException
+ FullyQualifiedErrorId : There are no runtimes matching the name dnx-clr-
win-x86 on feed https://www.nuget.org/api/v2.
There are no runtimes matching the name dnx-clr-win-x86 on feed https://www.myg
et.org/F/aspnetvnext/api/v2.
At C:\Program Files\Microsoft DNX\Dnvm\dnvm.ps1:619 char:9
+ throw "There are no runtimes matching the name $RuntimeId on ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : OperationStopped: (There are no ru...etvnext/api
/v2.:String) [], RuntimeException
+ FullyQualifiedErrorId : There are no runtimes matching the name dnx-clr-
win-x86 on feed https://www.myget.org/F/aspnetvnext/api/v2.
Run Code Online (Sandbox Code Playgroud)
我的猜测是提要网址应该指向v3提要,但我看不到如何更改用于此目的的网址.
| 归档时间: |
|
| 查看次数: |
1176 次 |
| 最近记录: |