Visual studio 2015 将早期测试版ASP.NET核心项目升级到另一个早期测试版会在Visual Studio 2015中打开时出错

Visual studio 2015 将早期测试版ASP.NET核心项目升级到另一个早期测试版会在Visual Studio 2015中打开时出错,visual-studio-2015,asp.net-core,dnx,Visual Studio 2015,Asp.net Core,Dnx,这个问题是关于一个过时的测试版,可能会被删除 安装DNX beta7和ASP.NET Visual Studio Tools for Beta 7后,在Visual Studio 2015中打开一个基于“ASP.NET 5预览模板”(现在称为ASP.NET Core)的小应用程序时,会出现以下错误: --------------------------- Microsoft Visual Studio --------------------------- Cannot find DNX SDK

这个问题是关于一个过时的测试版,可能会被删除

安装DNX beta7和ASP.NET Visual Studio Tools for Beta 7后,在Visual Studio 2015中打开一个基于“ASP.NET 5预览模板”(现在称为ASP.NET Core)的小应用程序时,会出现以下错误:

---------------------------
Microsoft Visual Studio
---------------------------
Cannot find DNX SDK version 'dnx-clr-win-x86.1.0.0-beta6-12256' required by 
your solution. Do you want to install it now? If you select No, 
‘dnx-clr-win-x86.1.0.0-beta7’ will be used as the solution DNX SDK version
for this session.
---------------------------
Yes   No   
---------------------------
选择“是”将导致以下消息框和DNVM输出窗格中的以下错误输出:

---------------------------
Microsoft Visual Studio
---------------------------
DNX SDK version 'dnx-clr-win-x86.1.0.0-beta6-12256' failed to install. 
The solution will use DNX SDK version ‘dnx-clr-win-x86.1.0.0-beta7’ for 
this session.
---------------------------
OK   
---------------------------
DNVM输出面板:

There are no runtimes matching the name dnx-clr-win-x86 on feed 
https://www.nuget.org/api/v2.
At C:\Program Files\Microsoft DNX\Dnvm\dnvm.ps1:563 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.myget.org/F/aspnetvnext/api/v2.
At C:\Program Files\Microsoft DNX\Dnvm\dnvm.ps1:563 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.
有趣的是,当我从我的powershell运行
dnvm
命令列出DNX运行时,它会将1.0.0-beta5、beta6、beta7列为已安装并存在于我的
c:\Users\USERNAME\.DNX\runtimes
文件夹中

发生了什么以及如何解决此问题?

要解决此问题(使用RC测试):


Ref:

我建议创建一个新项目,并将更改与以前的项目进行比较,以更新以前的项目。更新project.json文件、global.json、web.config(如果它存在于wwwroot文件夹中),也可能需要更新为引用beta7。还请注意,最新的项目将在引用的解决方案项中放置一个Nuget.config文件,因此您可能还需要添加该文件。您的项目是否有一个
global.json
?有一个project.json似乎需要更新,但是global.json似乎已经被设置为与“项目设置”对话框中的内容相同。您可以发布您的project.json吗?我相信实际的问题是,您不能只使用IDE获取.xproj并就地更新它。您必须放弃beta6解决方案和.xproj、project.json和global.json以及一般的总体结构,生成一个新项目,并添加您自己的源代码,beta7需要这个.RC1或RC1-Update1?哪个RC?
dnvm update-self
dnvm upgrade