The project type is not supported by this installation?


When i load the soultion i get the following error
The project file "\home\username\Data\Visual Studio 2008\Projects\Commerce.MVC\Commerce.MVC.Web\Commerce.MVC.Web.csproj" cannot ne opened. The project type is not supported by this installation.
Is this is because i have a different version of ASP.NET MVC Framework installed? What version are these samples written in?
Please assist.


blackwe wrote Aug 13, 2008 at 7:44 PM

I have had the same problem.

wrote Aug 15, 2008 at 6:18 AM

gbeltrao wrote Aug 15, 2008 at 6:31 AM

I'm getting the same error. By comparing the Services project file with this one, I noticed that the XML tag is missing from the project file. I added this (<?xml version="1.0" encoding="utf-8"?>) but it's still not working. Maybe it's a xml malformation.

AndreaBalducci wrote Aug 15, 2008 at 11:27 PM

I've just downloaded the sample and works fine with VS 2008 SP1 and Asp.Net MVC Preview 4

wrote Aug 26, 2008 at 1:28 PM

MVC2008 wrote Aug 26, 2008 at 10:49 PM

I had the same problem ; when I downloaded the MVC preview and installed on my computer the problem is solved

vl_itchie wrote Oct 18, 2008 at 2:30 PM

I had the same problem and I got it resolved with changing the projecttype guids in the project file.

Open up the Commerce.MVC.Web.csproj file in notepad (or your favorite text editor) and replace the entire <ProjectTypeGuids> tag with the following tag: <ProjectTypeGuids>{349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}</ProjectTypeGuids>.

You might have to create a dummy ASP.Net Web Application (NOT a website, since these don't have a .csproj file) to verify that these are the correct GUIDs for you version of Visual Studio.

After that I was able to reload the web project and everything worked !!

expresso wrote Dec 30, 2008 at 8:20 PM

Christ, why are you using DataSets?

wrote Oct 15, 2009 at 5:12 PM

CodeCop wrote May 4, 2010 at 4:44 PM

For those of you who are having this problem, I took the steps below to correct this.

1) Download latest version of MVC Framework and install it. (http://go.microsoft.com/fwlink/?LinkID=185037)
2) Edit the .csproj file for the MVC project in your text editor.
3) The ProjectTypeGuids need to be updated as the sample app must have been created with a different version. I replaced the existing <ProjectTypeGuids> element with this: <ProjectTypeGuids>{F85E285D-A4E0-4152-9332-AB1D724D3325};{349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}</ProjectTypeGuids>. This is similar to what vl_itchie wrote above but instead of web application project Guids this is using the MVC Project Guids. You can verify the Guids on your machine by temporarily adding an ASP.NET MVC application, opening up its .csproj file in your text editor and comparing the Guids in <ProjectTypeGuids> with the MVC Sample project file.

Hope this helps!

wrote Feb 21, 2013 at 11:38 PM