IT博客汇
  • 首页
  • 精华
  • 技术
  • 设计
  • 资讯
  • 扯淡
  • 权利声明
  • 登录 注册

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

    testcs_dn发表于 2016-02-27 09:05:36
    love 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 - 未指定的错误


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

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




沪ICP备19023445号-2号
友情链接