I really do not know what to do, I\'m following this article that shows how to migrate my MVC 3 application manually .
I followed all the steps but
Have you globally searched for System.Web.WebPages.Razor, Version=1.0.0.0 in your entire solution? Do you still reference System.Web.WebPages.Razor
(Version 1.0.0.0)? Do you reference System.Web.WebPages.Razor
Version 2.0.0.0?
[Update] I finally ran into the same issue. It seems like one of the NuGet packages I installed and uninstalled didn't entirely remove the reference to System.Web.Razor
it used. Cleaning the solution didn't help because the DLL wasn't used directly by the web application. I finally got it to work by manually deleting the entire bin directory ...