需要安装 Dnx 运行时包.有关更多详细信息,请参阅输出窗口 [英] The Dnx Runtime package needs to be installed. See output window for more details

查看:39
本文介绍了需要安装 Dnx 运行时包.有关更多详细信息,请参阅输出窗口的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用 Visual Studio 2015 企业版并创建了简单的 Asp.net5 应用程序.当我尝试调试时出现此错误.

I'm using Visual Studio 2015 Enterprise Edition and created simple Asp.net5 application. When I try to debug I'm getting this error.

The Dnx Runtime package needs to be installed. See output window for more details

这是我的项目设置:

Solution DNX SDK Version : 1.0.0-beta5,
Platform : .NET Core
Architecture : x64 

(也用 x86 试过)

(Tried with x86 as well)

也按照这个链接,但他们没有帮助.

Also followed the steps mentioned in this link but they didn't help.

也尝试重新安装 VS2015,但没有成功.知道我错过了什么吗?

Tried reinstalling VS2015 as well, but no luck. Any idea what I'm missing?

推荐答案

从 NuGet 控制台运行(在 VS 2015 中:Tools > NuGet Package Manager > 包管理器控制台)

Run it from the NuGet console (in VS 2015: Tools > NuGet Package Manager > Package Manager Console)

dnvm upgrade
dnvm upgrade -r CoreClr

这篇关于需要安装 Dnx 运行时包.有关更多详细信息,请参阅输出窗口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆