MVC project on VS2010 error : The project type is not supported by this installation
asp.net MvcVisual Studio-2010Visual StudioTfsasp.net Mvc Problem Overview
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.
asp.net Mvc Solutions
Solution 1 - asp.net Mvc
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 - asp.net Mvc
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
(orAdd/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 - asp.net Mvc
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 - asp.net Mvc
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:
- Under Control Panel, choose Programs/Uninstall a program.
- Find Microsoft ASP.NET MVC 4 and double-click it.
- The Microsoft ASP.NET MVC 4 Setup prompt will appear. Choose Repair.
Solution 5 - asp.net Mvc
in my case, i had opened my VS2010 solution, in vs2012, i was getting the project type is not supported, tried re installing mvc3 as was suggested, cancelled re installation, then i had the issue i couldn't open the project in VS2010 anymore. then tried to re install mcv3 again. solution was, uninstall mcv3, uninstall mcv4, then reinstall mcv3, then i could reopen my project in VS2010 . hope this helps someone!