![](/uploads/1/2/6/9/126986298/728679016.png)
Am i the only one who installed a Windows Update (8.1) on october 15, and suddenly MVC stop working because of this warning?Warning 1 Could not resolve this reference. Could not locate the assembly 'System.Web.Mvc, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL'.
Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors.It seems that this windows update installs a newer version of MVC with version number 4.0.0.1, and removes old version from program files folder.Someone know how to fix this without crawling for each project? The best solution is update DLL to version 4.0.0.1.Try use nuget: Install-Package Microsoft.AspNet.Mvc -Version 4.0.40804 -Project This will automatically update You just have to edit version System.Web.Mvc manually in. Had the same issue after update:Security Update for Microsoft ASP.NET MVC 4.0 (KB2993928)But only for project with a reference to the System.Web.Mvc, not installed by package.My colleague, who hadn't installed Microsoft ASP.NET MVC 4.0 Runtime and didn't received the update, had no trouble and had still the reference to 4.0.0.0, not to 4.0.0.1I manually changed the reference to 4.0.0. 1, after check-in, my colleague could still build with a reference to 4.0.0. 0.(Working both on Win7 Pro SP1, VS2013 Pro Update 3).
![Mac Mac](/uploads/1/2/6/9/126986298/779938025.jpg)
Please see this blog, the recommended way is to update corresponding NuGet package:To quote:The problem can be resolved by implemented one of the followingsolutions:.(Preferred) Install Microsoft.AspNet.Mvc from the NuGet gallery (this will install a binding redirect in your web.config). You can dothis from the NuGet package manager or the NuGet console inside VisualStudio:Install-Package Microsoft.AspNet.Mvc -Version -Project PROJECTNAMEMVC 4 version: 4.0.40804.0MVC 3 version: 3.0.50813.1.Manually update the reference to System.Web.MVC.dll (don’t use the one in the GAC).Try the Add Reference - Assemblies - Extensions dialog box. You need to change all the references to System.Web.Mvc within your solution.Just delete them and add the new 4.0.0.1 version.Also in the properties change copy local to true.And in the web.config add the assambly binding to point to the new version of mvc.
2018-03-27 WeatherSnoop 4.0.0 (146). 18.61 MB, 0, 0. 2018-03-27 ActiveDock 1 (91). 11.27 MB, 0, 0. 2018-03-27 BetterZip 4.1.1. 10.54 MB, 55, 0.
![](/uploads/1/2/6/9/126986298/728679016.png)