[Fix] - Could not locate the assembly System Web Mvc Version 4.0.0.0 Culture neutral PublicKeyToken 31bf3856ad364e35,processorArchitecture MSIL

Wikitechy | 5643 Views | asp.net | 07 Jun 2016

 

Scenario :

Microsoft recent security patch has led to in compilation error.  


Error : 

Could not load file or assembly 'System.Web.Mvc, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

Reason for the error : 

Microsoft recent security update


Fix : 

  • For projects refering System.Web.Mvc dll library, it requires installation of  Nuget Package - Microsoft.AspNet.Mvc.
  • Install-Package Microsoft.AspNet.Mvc 

Related Tags :

  • .net - Windows update caused MVC3 and MVC4 stop working 
  • c# - System.Web.Mvc not functioning as expected
  • Microsoft Asp.Net MVC Security Update MS14-059 broke my build
  • Could not locate the assembly "System.Web.Mvc,Version=4.0.0.0 
  • Visual Studio 2012/2013 GAC System.Web.MVC.dll Versions?
  • .net - ASP.NET MVC security patch to version 3.0.0.1
  • asp.net - aspnet_compiler finding wrong version of System.Web page



Workshop

Bug Bounty
IOT Hackathon
Webinar

Join our Community

Advertise