Also cited
http://sebnilsson.com/1091244048/making-mvc-3-razor-intellisense-work-after-installing-mvc-4-beta/
After installing the beta version of MVC 4, IntelliSense breaks Razor-views in MVC 3 applications in Visual Studio 2010. This is outlined in the release notes, but no one usually reads them.
This time, the solution to the problem is indeed indicated in those release notes. You need to explicitly specify the version numbers of the link in your web.config.
Add a new appSettings entry to explicitly indicate the version of the Webpage to use:
<appSettings> <add key="webpages:Version" value="1.0.0.0"/> </appSettings>
Then you have to edit your .csproj file, where you need to find your links to System.Web.WebPages and System.Web.Helpers and make sure they have explicit version numbers like this:
eg:
<Reference Include="System.Web.WebPages, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"/> <Reference Include="System.Web.Helpers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" />
-
We hope that this will be resolved in the final version of MVC 4 or, perhaps, the fact is that the links to the versions in Razor v1 were too blurry in MVC 3-projects.
Also a similar question MVC 3 Visual Studio 2010 Razor Model intellisense does not work
You may also need to install VS 2010 SP1 .
Edit :
Also see Required updates on this page.
http://www.asp.net/whitepapers/mvc4-release-notes#_Toc303253815