Visual studio code 在VSCode中运行ASP.net V5
我正在尝试从Windows 7操作系统的VSCode中运行代码示例。我成功地启动了该网站,但它出错了Visual studio code 在VSCode中运行ASP.net V5,visual-studio-code,Visual Studio Code,我正在尝试从Windows 7操作系统的VSCode中运行代码示例。我成功地启动了该网站,但它出错了 An unhandled exception occurred while processing the request. MissingMethodException: Method not found:'Microsoft.Framework.Runtime.Compilation.ILibraryExport Microsoft.Framework.Runtime.ILibraryMan
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还原”
请帮助修复此问题。我也遇到了同样的问题,但我通过获得最新的开发版本解决了这个问题。所以我猜这是当前nuget包构建中的一个bug。从github页面: DNVM具有稳定和不稳定进料的概念。稳定默认为NuGet.org,而不稳定默认为dev MyGet提要。所以,若您将-u或-unstable添加到任何安装或升级命令中,您将获得我们最新的DNX CI版本,而不是上一次在NuGet上发布的版本 请尝试运行以下命令,然后再次启动站点
dnvm upgrade -u
你的解决方案非常有效。我现在可以启动我的V5网站了。谢谢
dnvm upgrade -u