So I am getting this error on ASP.NET mvc2 solutions that used to work fine. I had to install Visual Studio 2012 and was running low on disk space, so had to manually uninstall some Visual Studio 2010 functionalities which didn't seem to be completely necessary at the moment. Now whenever I try to debug an application which targets the 4.0 .NET framework I get this error. I tried re-installing Visual Studio and the .net framework, but it keeps kappening. I don't know what to do.
Also, i tried what's stated in this question (Getting the error "The view at '~/Views/Page/home.aspx' must derive from ViewPage, ViewPage<TViewData>, ViewUserControl, or ViewUserControl<TViewData>") but couldn't put the answer marked as correct to work. Please help!
