Razor intellisense does not work in Visual Studio 2012 after upgrading to MVC 5 / Razor 3 - by nwdavisMsConnect

Status : 

  By Design<br /><br />
		The product team believes this item works according to its intended design.<br /><br />
		A more detailed explanation for the resolution of this particular item may have been provided in the comments section.

Sign in
to vote
ID 806348 Comments
Status Closed Workarounds
Type Bug Repros 23
Opened 10/23/2013 12:03:31 PM
Access Restriction Public


After updating a solution to use MVC 5 / Razor 3, Visual studio intellisense no longer works for Razor views.

I made sure that all web.config files updated the versions as well, and ensured that the root web.config contained the appSettings <add key="webpages:Version" value="" />

Visual Studio 2012 simply doesn't recognize the Razor syntax - intellisense appears to treat it as a plain html file.

I also tried installing Visual Studio 2012 Update 4 RC4, which did not change anything.
Sign in to post a comment.
Posted by nwdavisMsConnect on 11/18/2013 at 4:51 PM
Thanks to those who posted the links to the update. I installed the update as well, and now MVC5 / Razor 3 tooling appears to be working.

Just a minor note: when installing the install package says "Visual Studio 2012 Express for Web with latest ASP.NET Framework and Web Developer Tools"

- which briefly made we wonder if I had downloaded the wrong package. However, I installed the package, and it updated Visual Studio 2012 Premium

(Update 4) just fine.
Posted by schpeyeder on 11/18/2013 at 12:26 PM
The fix for this has been released:


This will install the new WebApi 2 Templates, MVC 5 Templates, fix the Razor Tooling and other things. I have installed this and can confirm things are back to functioning. Enjoy!
Posted by Sewak on 11/17/2013 at 2:15 PM
It was mentioned a fix would be released mid-November - Any updates from Microsoft team on this?
Posted by rehoutm on 11/15/2013 at 1:37 AM
Is there any update on this issue? Update 4 for VS 2012 did not solve it.
Posted by nwdavisMsConnect on 11/12/2013 at 8:50 AM
An explanation from Microsoft for closing this item would be appreciated. Is it really Microsoft's intention to leave purchasers of Visual Studio 2012 out in the cold, or is the hearsay promise for VS 2012 tooling on stackoverflow actually a reality?
Posted by rubberbay on 11/4/2013 at 1:15 PM
Add menus also disappear when moving to MVC 5 in Visual Studio 2012:
Posted by mcm_ham on 10/24/2013 at 3:39 PM
Found this answer mentioned here: http://stackoverflow.com/a/19560412

"MVC 5/Razor 3 tooling support for VS 2012 has not shipped yet. We hope to ship this support in Mid November."
Posted by Microsoft on 10/24/2013 at 12:08 AM
Thanks for your feedback.

We are rerouting this issue to the appropriate group within the Visual Studio Product Team for triage and resolution. These specialized experts will follow-up with your issue.
Posted by Microsoft on 10/23/2013 at 12:51 PM
Thank you for your feedback, we are currently reviewing the issue you have submitted. If this issue is urgent, please contact support directly(http://support.microsoft.com)