大会'SomeAssembly,使用'System.Web.Mvc,版本= 4.0.0.0,其中有一个版本高于引用的程序集'System.Web.Mvc,版本3.0.0.0 [英] Assembly 'SomeAssembly, uses 'System.Web.Mvc, Version=4.0.0.0, which has a higher version than referenced assembly 'System.Web.Mvc, Version 3.0.0.0

查看:780
本文介绍了大会'SomeAssembly,使用'System.Web.Mvc,版本= 4.0.0.0,其中有一个版本高于引用的程序集'System.Web.Mvc,版本3.0.0.0的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我得到下面的下面的错误打开和编译后,我的VS 2010的.NET在VS 2012 RTM 4.0 MVC3项目。我怎样才能解决这个问题,而不升级到MVC4?

我的VS 2010和VS 2012并排安装。


  

1时出错大会SomeAssembly,版本= 1.0.0.0,文化=中立,公钥=空'使用'System.Web.Mvc,版本= 4.0.0.0,文化=中性公钥= 31bf3856ad364e35'具有更高版本比引用的程序集'System.Web.Mvc,版本= 3.0.0.0,文化=中性公钥= 31bf3856ad364e35



解决方案

要检查的另一件事是,你没有一个测试项目仍引用在溶液中MVC3组装。那是什么让我。

I get the following error below after opening and compiling my VS 2010 .net 4.0 MVC3 project in VS 2012 RTM. How can I fix this without upgrading to MVC4?

I have VS 2010 and VS 2012 installed side by side.

Error 1 Assembly 'SomeAssembly, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' uses 'System.Web.Mvc, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' which has a higher version than referenced assembly 'System.Web.Mvc, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'

解决方案

Another thing to check is that you dont have a test project still referencing the mvc3 assembly in the solution. Thats what got me.

这篇关于大会'SomeAssembly,使用'System.Web.Mvc,版本= 4.0.0.0,其中有一个版本高于引用的程序集'System.Web.Mvc,版本3.0.0.0的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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