I Migrate my project to mvc 5.0 and razor engin 3 with Microsoft Instruction
But when open my solution Get this:
The Web project 'ProjectName' requires missing web components to run with Visual Studio. Would you like to download and install them using the Web Platform Installer now? (Note: Some components might require restart to take effect.)
ASP.NET Web pages with Razor syntax 3.0.0.0
but these answer doesn't help me I appreciate for any help
Update: My Project Build Very well and works without any exception with razor 3 and mvc 5 but just Intellisense doesn't sense my Typing and coloring my Code
and also when change this line to Value="2.0.0.0" in Application web Config file above error vanish and intelisens works fine
<appSettings>
<add key="webpages:Version" **value="3.0.0.0"** />
...
</appSettings>
Update After some while, now you can user razor 3 on vs 2012. Here you can upgrade
I had this problem after installing Visual Studio 2012.
What solved for me was installing the Visual Studio Updates:
I Found The Problem, vs 2012 doesn't support it(see update section of this answer)
From Here said:
So we don't have these dlls in above path when upgrade to mvc5 /razor 3
also read this stack question
update: now support it , update vs from here
Solved: Follow the below steps, It worked for me: a)Install VS 2012 Update 4 (http://www.microsoft.com/en-gb/download/details.aspx?id=39305)
b)ASP.NET and Web Tools 2013.1 for Visual Studio 2012 Download link Available here (http://blogs.msdn.com/b/webdev/archive/2013/11/18/announcing-release-of-asp-net-and-web-tools-2013-1-for-visual-studio-2012.aspx)
c) Restart your dev box
I solve this problem. VS 2012 support it.
from install setup file here upgrade for Visual Studio 2012
For me was installing the
Visual Studio Updates
:(At the time of writing of this answer it was
Update 4
)