Web project requires missing web component ASP.NET Web pages with Razor syntax 3.0.0.0

  • In C#
  • Saturday, January 09, 2016
  • 12955 Views

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

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

 

Web Platform Installer Download from Microsoft

 

I had this problem after installing Visual Studio 2012.

 

What solved for me was installing the Visual Studio Updates:

  1. Tools> Extensions And Updates
  2. Select "Updates" in the accordion list on the left.
  3. Select "Product Updates".
  4. Update to the newest version (At the time of writing of this answer it was Update 4)

Download Microsoft .NET Framework 4.5.1