Asp.net-mvc – Visual Studio is prompting to install ASP.NET Web pages with Razor syntax 1.0

asp.net-mvcprojects-and-solutionsvisual studiovisual studio 2010

I'm somewhat at a loss as what to do with my development environment. Anytime I open up a solution Visual Studio is prompting me to install "ASP.NET Web pages with Razor syntax 1.0".

If I ignore the prompt and continue into the solution the only thing that appears to not work is intellisense within razor views. Not the end of the world but it is starting to get annoying having this message appear when moving from solution to solution.

I have tried:

  • installing the missing component via the web platform installer
  • installing the missing component via the standalone installer
  • Uninstalling and re-installing MVC3

Any suggestions on what I can try next?

Visual Studio Prompt

EDIT:

So, after uninstalling all tools related to visual studio and and visual studio sp1 I re-installed visual studio and service pack1. I went to install MVC3 and the installation failed.

From, there I cleared pretty much every temp file / directory on my machine and tried the web platform installer. Again, it failed.

From there, I tried installed the RTM of MVC3 and the installation was successful: http://www.microsoft.com/download/en/details.aspx?id=4211

After finally getting MVC3 installed I was able to install the tools update and I'm back up and running….good way to waste 4 hours of time….blah…

Best Answer

Any suggestions on what I can try next?

I would attempt a Visual Studio 2010 reinstall after uninstalling ASP.NET MVC 3 and WebPages. Then install ASP.NET MVC 3 from the standalone installer.