After installing the ASP.NET MVC 4 Developer Preview, I can no longer open MVC 3 projects, with the following error message:
The project type is not supported by this installation.
<ProjectTypeGuids>
in my MVC 3 .csproj file looks right:
<ProjectTypeGuids>{E53F8FEA-EAE0-44A6-8774-FFD645390401};{349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}</ProjectTypeGuids>
Is this a bug in the MVC 4 developer preview, or is something missing from my Visual Studio 2010 install? And how do I solve it? Should I rollback my MVC 4 install?
I have tried running devenv /ResetSkipPkgs
and installed MVC 3 Tools Update, to no avail.
It shouldn't! That's why it's designed in a modular way. In most web applications out there, we version and deploy all these assemblies (Web, BLL and DAL) together. So, separating a project into 3 projects does not add any values.
ASP.NET MVC is no longer in active development.
ASP.NET MVC 4 is a framework for developing highly testable and maintainable Web applications that follow the Model-View-Controller (MVC) pattern. The framework encourages you to maintain a clear separation of concerns— views for UI, controllers for handling user input, and models for domain logic.
"" If you want to update your projects to MVC4, and open them as such in the visual studio, then ""
The solution is to change the projectType guids from
{E53F8FEA-EAE0-44A6-8774-FFD645390401}
to
{E3E379DF-F4C6-4180-9B81-6769533ABE47}
in the csproj file, after you install the mvc4 visual studio package.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With