码迷,mamicode.com
首页 > Web开发 > 详细

NU1002 The dependency Microsoft.AspNet.Mvc 5.2.3 in project dotnetstarter does not support framework

时间:2016-02-27 09:45:11      阅读:180      评论:0      收藏:0      [点我收藏+]

标签:

NU1002 The dependency Microsoft.AspNet.Mvc 5.2.3 in project dotnetstarter does not support framework DNXCore,Version=v5.0.

解决“CS0234 The type or namespace name ‘Mvc‘ does not exist in the namespace ‘Microsoft.AspNet‘ (are you missing an assembly reference?)”问题时,出现此问题;

问题产生过程:

添加引用

技术分享

注意下图:我遇到这个问题时,下图显示的版本是5.2.3,并没有显示合适的版本

技术分享

安装之后就出现此问题,如下图:

技术分享


出现这个问题的原因就是版本不匹配,请选择合适的版本;

具体解决参考:“CS0234 The type or namespace name ‘Mvc‘ does not exist in the namespace ‘Microsoft.AspNet‘ (are you missing an assembly reference?)


相关参考:

《ASP.NET5》Windows 7下Visual Studio 2015安装记录

AspNet5.ENU.RC1安装错误:0x80072f0d - 未指定的错误


=========================分隔线=====================================

你可以去相信有个人对你说会照顾你一辈子,养你一辈子的话。但是,也请永远记住,独立才是你最应该学会的,不是不相信那些话,只是世间万事风云莫测,没有人会像都教授一样瞬间移动。危难关头,只有你包里的人民币才能让你挺起腰杆做人,你最终所能依赖的,一定是你自己。


NU1002 The dependency Microsoft.AspNet.Mvc 5.2.3 in project dotnetstarter does not support framework

标签:

原文地址:http://blog.csdn.net/testcs_dn/article/details/50753753

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!