"the project type is not supported by this installation" error

asp.net MvcVisual Studio-2008

asp.net Mvc Problem Overview


I have installed VS 2008 SP1 on W2k3 OS. After I installed ASP.NET MVC beta and tried creating ASP.NET MVC type project I get the following error.

"the project type is not supported by this installation"

Let me know if you have fixed this issue.

asp.net Mvc Solutions


Solution 1 - asp.net Mvc

I tried some of the solutions posted here but still no joy. Finally I replaced the ProjectTypeGuids to this one below in the project file and it loaded fine

<ProjectTypeGuids>{349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}</ProjectTypeGuids>

Solution 2 - asp.net Mvc

I came across something while having issues of my own.

In short, try:

  • Run the Visual Studio Command Prompt as Admin.

  • Execute:

      devenv /setup
    

It then whirs away for a bit (VS2008 will not open), once the prompt returns fire up VS and all (may) be back to normal.

I came across this when my MVC projects got messed up when trying to get the Entity Framework up and running :)

Solution 3 - asp.net Mvc

The problem is that MVC 2 is not completely backward compatible. Visual Studio cannot open MVC 1 apps without MVC 1 installed. So if you just install MVC 1, which can install together with MVC 2 you should be just fine. http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=53289097-73ce-43bf-b6a6-35e00103cb4b

Solution 4 - asp.net Mvc

I had the same problem with MVC v1. Turns out that I hadn't installed the "Visual Web Developer" feature.

This SO user had the same issue.

Solution 5 - asp.net Mvc

My situation was slightly different: I was trying to open an existing MVC 3 project. Turns out I didn't have MVC 3, installing it from here fixed the problem for me.

Solution 6 - asp.net Mvc

i installed visual web developer from the Visual studio 2008 installation dvd and that fixed the problem

Solution 7 - asp.net Mvc

Tried to install ASP.NET MVC 1.0. It works to me.

Solution 8 - asp.net Mvc

ewalshe - same thing worked for me. I know this is an old post, just wanted to put this out there for anybody else. I had an existing solution in source control (Vault), and wanted to set up my home computer for development. I installed Visual Studio 2008 at home without the following options:

C++
Visual Basic
Visual Web Developer

When I pulled down the solution from source control, all projects loaded EXCEPT my web project - VS simply did not recognize it. A fresh installation using the default options and a restart fixed my problem. I do not have the time nor the desire to really figure out which of the above is necessary for Web Application projects to work... maybe somebody will chime in.

~ryan

Solution 9 - asp.net Mvc

I was getting the same error and found this question in a Google search for the answer. Most answers unearthed in the search suggested that old project types were being moved onto a machine with a different version of Visual Studio installed. None of which applied to me.

I've got VS2008 installed on a machine (running 64bit Vista) at work and recently installed the ASP.NET MVC beta, without any problems.

I wanted to replicate my work environment on my Mac, so I installed VS2008 with the ASP.NET MVC beta into a WinXp installation running within a Parallels VM. When I went to create a project with the ASP.NET MVC Web Application template I got the "the project type is not supported by this installation" error.

I finally got things working by yet another reinstall of VS2008 (a clean install, not a repair). This time I choose the default installation options, rather than customising things as I usually do. I normally deselect VB, the mobile device, office and other non C# development stuff - I don't have much free space on my Mac.

After the clean install of VS2008 I did a windows update, installed VS2008 SP1 and finally installed the ASP.NET MVC beta.

It seems that when I customised the VS2008 install, I deselected something essential for the correct operation of the MVC beta. I don't have clue what that something is, I'm just happy that after three days I can play the the MVC stuff at home.

Its been a month since you posted the question. Have you made any progress since?

Solution 10 - asp.net Mvc

This is sometimes caused by running a version of Visual Studio which doesn't support MSTest.

Solution 11 - asp.net Mvc

This might be obvious, but it fixed it for me. I had installed ASP.NET MVC prior to installing Visual Studio 2008. Once I removed MVC and reinstalled, I no longer had the problem.

Solution 12 - asp.net Mvc

install ASP.NET MVC 1.0. It works to me.

Solution 13 - asp.net Mvc

In Windows 7 if you are not running as the local "Administrator" and have UAC turned on the install will silently fail. The solution is to disable UAC, reboot, and the install should succeed.

Solution 14 - asp.net Mvc

If you are trying to run an MVC application, try running AspNetMVC1.msi. It worked for me, so hopefully it will resolve your problem.

Solution 15 - asp.net Mvc

I kept running into this problem. Running devenv /setup and devenv /resetskippkgs did not work for me. Nor did removing project guids. I installed MVC 1.0 and it still didnt work. Then I installed MVC 2.0 and that seemed to do it.

Solution 16 - asp.net Mvc

I had MVC 2 installed on my machine and I was still getting this error message. I installed MVC 1, no GO. i installed web Developer No GO. I finally uninstalled MVC1 and MVC2 and then reinstalled MVC2: http://www.microsoft.com/Downloads/en/details.aspx?familyid=C9BA1FE1-3BA8-439A-9E21-DEF90A8615A9&displaylang=en

The re installation of MVC 2 solved the problem for me. Hope this helps someone else.

Thanks

Solution 17 - asp.net Mvc

VS2008; ASP.NET MVC 2 on 64-bit machine receiving the issue:
"the project type is not supported by this installation"

Solution: Thanks to Bert Huijben from above. Under the VS install in the start menu, in the VS Tool folder, ran VS2008 x64 Cmd Prompt. Executed commands:

devenv /setup

...still project errored and didn't open, then ran

devenv.exe /resetskippkgs

... and then success!

Solution 18 - asp.net Mvc

I had to rebuild my development VM to solve this one. Clean install FTW.

Solution 19 - asp.net Mvc

Tried @ryan and @Rob Cooper answers with no joy. Running this in a vhd on Win7.

Zoned in on Mvc and that's where problem lies. Not 100% but think issue is that I was trying to open a project that didn't have latest Mvc release, which new build had.

Temporary solution is to rollback to previous version of Mvc. Then when that's happy, upgrade project to latest Mvc and then machine.

Solution 20 - asp.net Mvc

Ran into this problem when I had VS2008 running by accident when I started the ASP.NET MVC install. Closed VS, uninstalled ASP.NET MVC, then reinstalled it and everything worked fine.

Solution 21 - asp.net Mvc

Vivek Ayer's solution also worked for MbUnit projects. Additionally, simply deleting the first GUID (rather than replacing it with "{349c5851-65df-11da-9384-00065b846f21}") worked.

Solution 22 - asp.net Mvc

If you are running Visual Studio 2010 and want to open/create MVC 3 solutions you have to have the Visual Web Developer component of Visual Studio installed.

If you have done a default installation without customization then this component is installed.

If you do a customized installation and say thought you only wanted C# stuff installed you may have unchecked the Visual Web Developer component thinking you didn't need it. You need it for any MVC development. Simply re-run your VS setup and make sure this component is selected.

The MVC 3 download and installation will work properly even without this component installed. However, you will not be able to open or create a MVC 3 solution.

Solution 23 - asp.net Mvc

The trick to getting around this problem is the ProjectTypeGUID, but the GUIDS listed elsewhere in this and other posts didn't work for me.

In the end (and this is my suggestion), I created a new MVC project, then open the *.vbProj file and copy out the ProjectTypeGUIDs I found there. When I transposed those into the vbproj file of the project I was having trouble with, everything started working.

In my case (for an existing VS10 VB project), the right GUIDs were:

<ProjectTypeGuids>{F85E285D-A4E0-4152-9332-AB1D724D3325};{349c5851-65df-11da-9384-00065b846f21};{F184B08F-C81C-45F6-A57F-5ABD9991F28F}</ProjectTypeGuids>

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionKrishna KumarView Question on Stackoverflow
Solution 1 - asp.net MvcVivek AyerView Answer on Stackoverflow
Solution 2 - asp.net MvcRob CooperView Answer on Stackoverflow
Solution 3 - asp.net MvcJohn WhiteView Answer on Stackoverflow
Solution 4 - asp.net MvcRobin MintoView Answer on Stackoverflow
Solution 5 - asp.net MvcNick KnowlsonView Answer on Stackoverflow
Solution 6 - asp.net MvcJagdishView Answer on Stackoverflow
Solution 7 - asp.net MvcThanh PhamView Answer on Stackoverflow
Solution 8 - asp.net MvcRyanView Answer on Stackoverflow
Solution 9 - asp.net MvcewalsheView Answer on Stackoverflow
Solution 10 - asp.net MvcJon GallowayView Answer on Stackoverflow
Solution 11 - asp.net MvcjimtronicView Answer on Stackoverflow
Solution 12 - asp.net MvcAmit TiwariView Answer on Stackoverflow
Solution 13 - asp.net MvcBen FloydView Answer on Stackoverflow
Solution 14 - asp.net Mvcshrilata EllaboinaView Answer on Stackoverflow
Solution 15 - asp.net MvcacgView Answer on Stackoverflow
Solution 16 - asp.net MvcVictor JuriView Answer on Stackoverflow
Solution 17 - asp.net MvcTravisView Answer on Stackoverflow
Solution 18 - asp.net MvcJoshRiversView Answer on Stackoverflow
Solution 19 - asp.net MvcdoveView Answer on Stackoverflow
Solution 20 - asp.net MvcJacobs Data SolutionsView Answer on Stackoverflow
Solution 21 - asp.net MvcJerryView Answer on Stackoverflow
Solution 22 - asp.net MvcdbloodView Answer on Stackoverflow
Solution 23 - asp.net MvcBrianView Answer on Stackoverflow