Quantcast
Channel: MSBuild forum
Viewing all articles
Browse latest Browse all 2763

MS Build fails - Web mvc throws higher version error

$
0
0


I am running Visual studio premium 2013 and configured new build for the packages. 

When I run the build  through Visual Studio/ Team Explorer  which is throws following error. 

CSC: Assembly 'Add.product.to-store' with identity 'Add.product.to-store, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' uses 'System.Web.Mvc, Version=5.2.2.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' which has a higher version than referenced assembly 'System.Web.Mvc' with identity 'System.Web.Mvc, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'

TestControllerUnitTest.cs(47) 'Add.product.to-store' with identity 'Add.product.to-store, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' uses 'System.Web.Mvc, Version=5.2.2.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' which has a higher version than referenced assembly 'System.Web.Mvc' with identity 'System.Web.Mvc, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.

The System.web.mvc reference library is upto date on my local and source location.

Anyone came across this issue then please share your work around comment. In advance much appreciated your support.

Viewing all articles
Browse latest Browse all 2763


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>