tags:

views:

872

answers:

3

I can create new MVC projects and they work and run however trying to open an existing project is not working at all

I tried the following Changining the project type to

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

(this worked on migrating a project from Asp.Net MVC preview 1 to preview 2 BTW)

Changed the Reference to

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

I tool this from a new project I created so i know that should be ok ( i even hardcoded the path to the same result)

Still i get the dreaded "The project file '.....csproj' cannot be opened. The project type is not supported by this installation

I also tried devenv /setup and installing the sp1 for visual studio

the project i m trying to open is this one ( a devexpress sample of a grid working on Asp.Net MVC)

Cheers

+1  A: 

This may be a silly question but have you installed the MVC famework? http://www.asp.net/mvc/download/

Geoff
yes i have :) but fair enough
Miau
+4  A: 

ok the problem was too many changes, I unzipped the solution again and just changed the first parameter in the 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 can see the project hurray!

Miau
+1 -- too many other related posts. This one worked in VS 2008 for me with MVC2.
Kurt Johnson
A: 

you need to install MVC 2 (http://www.microsoft.com/downloads/en/details.aspx?FamilyID=c9ba1fe1-3ba8-439a-9e21-def90a8615a9&amp;displaylang=en)

Pencho Ilchev
This was the problem for me.
toxaq