ASP.NET MVC project "not supported by this installation"

I can create new MVC projects, and they work and start, however, trying to open an existing project does not work at all

I tried the following project type change:

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

(this worked on reconfiguring the project from the preview of Asp.Net MVC 1 to preview 2 BTW)

Link changed:

 <Reference Include="System.Web.Mvc, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> <SpecificVersion>False</SpecificVersion> </Reference> 

I am using this from a new project that I created, so I know that this should be fine (I even encoded the path to the same result)

Still I get scary

The project file "..... csproj" could not be opened. The project type is not supported by this setting.

I also tried devenv /setup and installed sp1 for visual studio

the project that is trying to open is this one (an example of a DevExpress grid running on ASP.NET MVC)

+23
visual-studio asp.net-mvc projects-and-solutions
Oct 07 '09 at 11:45
source share
4 answers

ok the problem was too many changes, I unpacked the solution again and just changed the first parameter in the range from ProjectTypeGuids to {F85E285D-A4E0-4152-9332-AB1D724D3325} so it looks like

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

and I see the project cheers!

+15
Oct 07 '09 at 14:58
source share

It just had a similar problem when using the old MVC / Azure WebRole project in VS 2012 with MVC4. The trick was to edit .CSPROJ as follows:

 10c11 < <ProjectTypeGuids>{F85E285D-A4E0-4152-9332-AB1D724D3325};{349c5851-65df-11 da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}</ProjectTypeGuids> --- > <ProjectTypeGuids>{E3E379DF-F4C6-4180-9B81-6769533ABE47};{349c5851-65df-11 da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}</ProjectTypeGuids> 

i.e. change the first from {F8 ... to {E3E3 ... (which is obviously MVC4). You need to do this outside of Visual Studio, in a text editor, and then open the solution and "reload" the project that gave the error - this will cause VS to transfer it to VS 2012.

+17
Feb 20 '13 at 23:45
source share

You need to install ASP.NET MVC 2 .

+8
Sep 14 '10 at 10:57
source share

There is a very simple way to solve this problem.

Probably some of the dependencies are missing, and it is really difficult to determine which one.

Switch to

http://www.asp.net/downloads

Download ASP.NET and WebTools for your version of Visual Studio

The web platform installer appears, in which all the necessary tools will be installed

It solved my problem

No need to go through ProjectTypeGuids

0
Feb 25 '14 at 4:39
source share



All Articles