Today I woke up after a windows update last night, and my MVC project was broken (many missing namespace errors). Apparently, my System.Web.Mvc version was updated from 4.0.0.0 to 4.0.0.1 automatically via (http://support.microsoft.com/kb/2993928) and my projects references were broken, the following stack overflow post is similar but did not resolve my issue: http://stackoverflow.com/questions/26393157/windows-update-caused-mvc3-and-mvc4-stop-working
Following some threads, I went through my entire project and renamed references from 4.0.0.0 to 4.0.0.1, this resolved the errors, however now I am getting the following error:
Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: CS0234: The type or namespace name 'Html' does not exist in the namespace 'System.Web.Mvc' (are you missing an assembly reference?)
Source Error:
Line 36: <add namespace="System.Web.Mvc"/>
Line 37: <add namespace="System.Web.Mvc.Ajax"/>
Line 38: <add namespace="System.Web.Mvc.Html"/>
Line 39: <add namespace="System.Web.Optimization"/>
Line 40: <add namespace="System.Web.Routing"/>
How would I go about troubleshooting this, any ideas?