运行 ASP.net VSCode 中的 V5
Running ASP.net V5 in VSCode
我正在尝试 运行 Windows 7 OS 中的 VSCode 中 https://github.com/aspnet/home 的代码示例。我成功启动了网站,但出现错误
An unhandled exception occurred while processing the request.
MissingMethodException: Method not found:'Microsoft.Framework.Runtime.Compilation.ILibraryExport Microsoft.Framework.Runtime.ILibraryManager.GetLibraryExport(System.String)'.
Microsoft.AspNet.Mvc.Razor.Compilation.RoslynCompilationService.GetApplicationReferences()
我尝试升级 DNVM 并尝试列出可用版本并做了 "dnu restore"
Active Version Runtime Architecture Location Alia
s
------ ------- ------- ------------ -------- ----
* 1.0.0-beta4 clr x86 C:\Users\***\.dnx\runtimes d...
请帮忙解决这个问题。
我有同样的问题,但我通过获取最新的开发版本解决了它。所以我猜这是当前 nuget 包构建中的一个错误。来自 github 页面:
DNVM has the concept of a stable and unstable feed. Stable defaults to NuGet.org while unstable defaults to our dev MyGet feed. So if you add -u or -unstable to any of the install or upgrade commands you will get our latest CI build of the DNX instead of the one last released on NuGet
尝试运行下面的命令,然后再次启动网站。
dnvm upgrade -u
我正在尝试 运行 Windows 7 OS 中的 VSCode 中 https://github.com/aspnet/home 的代码示例。我成功启动了网站,但出现错误
An unhandled exception occurred while processing the request.
MissingMethodException: Method not found:'Microsoft.Framework.Runtime.Compilation.ILibraryExport Microsoft.Framework.Runtime.ILibraryManager.GetLibraryExport(System.String)'.
Microsoft.AspNet.Mvc.Razor.Compilation.RoslynCompilationService.GetApplicationReferences()
我尝试升级 DNVM 并尝试列出可用版本并做了 "dnu restore"
Active Version Runtime Architecture Location Alia
s
------ ------- ------- ------------ -------- ----
* 1.0.0-beta4 clr x86 C:\Users\***\.dnx\runtimes d...
请帮忙解决这个问题。
我有同样的问题,但我通过获取最新的开发版本解决了它。所以我猜这是当前 nuget 包构建中的一个错误。来自 github 页面:
DNVM has the concept of a stable and unstable feed. Stable defaults to NuGet.org while unstable defaults to our dev MyGet feed. So if you add -u or -unstable to any of the install or upgrade commands you will get our latest CI build of the DNX instead of the one last released on NuGet
尝试运行下面的命令,然后再次启动网站。
dnvm upgrade -u