Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ASP.net MVC RTM - "project type is not supported"

After installing ASP.net MVC, when I attempt to load a existing or a new MVC application (straight from New Project - A project for creating an application using the ASP.NET MVC framework (1.0) (.NET Framework 3.5)) I get the following error:


Microsoft Visual Studio

The project file 'path' cannot be opened.

The project type is not supported by this installation.

OK Help

Tried reinstalling which didn't help. Tried devenv /setup which also didn't help.

Any ideas?

like image 445
Ben Hall Avatar asked Apr 10 '09 21:04

Ben Hall


3 Answers

The reason was because I didn't have the Visual Web Development part of VS installed. I only had the C# language. As such, MVC didn't check and installed successfully but couldn't use the underlying part.

After installing the Web Dev bit everything worked as expected...

like image 115
Ben Hall Avatar answered Oct 07 '22 09:10

Ben Hall


You could also try to run the following command:

devenv /ResetSkipPkgs

This will try to load any Visual Studio packages that failed previously at some point, such as the WPF project flavor package, which would cause the error message you're seeing.

like image 34
Peter Avatar answered Oct 07 '22 09:10

Peter


Not sure if this is the same issue but going through the uninstall and re-install of beta and RC versions and finally the RTW I ended up with two ASP.NET MVC Web Application icons in my "File/New/Project" dialog.

If I click the first link, my project does not load correctly. But if I click the second one everythign works great.

I haven't dug into the templates folder to see if there is a remnant from a previous version or what.

Brian

like image 34
Brian Behm Avatar answered Oct 07 '22 09:10

Brian Behm