MVC project on VS2010 error : The project type is not supported by this installation

72,498

Solution 1

You basically don't have something installed. That's why you get this error. I am very sure that you need to install the VS MVC project type - either MVC 2 or MVC 3. Use The Web Plaform Installer to install. The web platform installer can be found here: http://www.microsoft.com/web/downloads/platform.aspx. Once you have installed it (it is only 2MB) you need to search for "MVC", install the MVC 2 and MVC 3 project templates.

Solution 2

I got this error when I forgot to select the Web Developer feature in the Visual Studio setup. Unfortunately, the error you mentioned is the only error you get when Visual Studio 2010 is installed without this feature. You can install the Web Developer feature using the Windows control panel.

By popular demand (7+ and counting), I'm placing part of CodingWithSpike's comment here. Specifically, the procedure to explicitly add Visual Web Designer to VS install.

  • open Control Panel
  • select Programs and Features (or Add/Remove Programs)
  • choose Visual Studio
  • click "Uninstall/Change"
  • this opens the VS installer in maintenance mode.
  • Click "Next" once
  • Click "Add or Remove Features"
  • Checkbox "Visual Web Designer"
  • click Update button.
  • Enjoy having a working product!

Solution 3

Edit the project.csproj file and look at the <ProjectTypeGuids>{E53F8FEA-EAE0-44A6-8774-FFD645390401};{349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}</ProjectTypeGuids> The GUIDS above includes MVC 3 Tools Update. That's a good guess of what you are missing. You can get MVC 3/TU from http://www.asp.net/mvc/mvc3 BTW, that install includes VS2010 SP1 which is required for the TU edition.

Solution 4

If you've installed Visual Studio 2010 after Visual Studio Web Dev Express and MVC4, Visual Studio 2010 doesn't seem to pick up the MVC 4 templates. Running the MVC 4 installer again via the Web Platform Installer doesn't fix it. Repairing the MVC 4 installation fixed it in my case:

  1. Under Control Panel, choose Programs/Uninstall a program.
  2. Find Microsoft ASP.NET MVC 4 and double-click it.
  3. The Microsoft ASP.NET MVC 4 Setup prompt will appear. Choose Repair.

Visual Studio 2010 Express to Pro, ASP.NET MVC 4 installed but not an option?

Share:
72,498
Neo
Author by

Neo

Hi! I'm a software engineer. Having experience to work on C#,Asp.Net,AJAX,SQL 2005/08/2012,EF4,SQL to LINQ and also worked on Cloud Computing (Microsoft Windows Azure and AWS Amazon).

Updated on July 09, 2022

Comments

  • Neo
    Neo almost 2 years

    I'm trying to open MVC project using VS2010. I'm opening this project from TFS server but I'm failed to open it and getting error : The project type is not supported by this installation.

    please help.