2

it seems ASP.NET MVC3 project cannot be opened in a (MVC3 + MVC4) environment.

we have a shared development environment which has both MVC3 and MVC4 environments (VS2010 and VS2013 on Windows 8.1) and I was trying to open a MVC3 project using visual studio 2010, and I got an error "The project type is not supported by this installation."

I checked project type list in the project file.

<ProjectTypeGuids>{E53F8FEA-EAE0-44A6-8774-FFD645390401};{349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}</ProjectTypeGuids>

Also, I checked the reference to System.Web.Mvc.dll and it is pointing to C:\Program Files (x86)\Microsoft ASP.NET\ASP.NET MVC 3\Assemblies\System.Web.Mvc.dll, and the physical dll does exist.

I have other projects which have <ProjectTypeGuids>{349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}</ProjectTypeGuids> only, and they are all loaded fine in VS2010.

it seems the issue is about ASP.NET MVC 3 {E53F8FEA-EAE0-44A6-8774-FFD645390401} in VS2010 with MVC4 installed.

I can't upgrade the project and have to use this MVC3+MVC4 environment. Any ideas of how to load MVC3 project in a (MVC3 + MVC4) environments?

thanks a lot.

Victor

9
  • Start the Web Platform Installer, install MVC.
    – CodeCaster
    Feb 23, 2016 at 15:29
  • I did try web platform. it shows "the following products were successfully istalled. => ASP.NET MVC3 tools update installer". so the installer doesn't do anything.
    – Victor Xie
    Feb 23, 2016 at 16:34
  • some guys here indicates to upgrade the project. but I can't
    – Victor Xie
    Feb 23, 2016 at 16:37
  • Please read the linked duplicate's answers, and then search the web for "mvc The project type is not supported by this installation", plenty of suggestions.
    – CodeCaster
    Feb 23, 2016 at 16:39
  • Of course, I have read relative threads including this one. Please read my post, I have {E53F8FEA-EAE0-44A6-8774-FFD645390401}; in my project file already, also I tried to launch web platform installed but it shows it’s already installed. I think I am having a different case. My question to you is, Should I create a new thread, or follow the old thread?
    – Victor Xie
    Feb 23, 2016 at 16:51

2 Answers 2

1

As CodeCaster suggested, I removed MVC3, and reinstalled, but it doesn't help.

But I found the other way to trigger web platform installer to 'repair' the environment. I am not sure if this is a typical case, but If you did try all kind of ideas to load a MVC3 project in a MVC3+MVC4 evnriroment, but don't work. you can try this one.

my case is in the project file, we have ASP.NET MVC 3 {E53F8FEA-EAE0-44A6-8774-FFD645390401} in the project type already, and we have MVC3, Visual Studio tools and ASP.NET Web Pages installed, but we still can not load MVC3 project, the error is "The project type is not supported by this installation.". and if you launch web platform installer, it tells you "... already installed."

if this is your case, try what we just did, it seems can resolve the issue.

1) manually open the project file, remove {E53F8FEA-EAE0-44A6-8774-FFD645390401}, and compile the project, you should be able to compile the project, because you have MVC3 environment installed.

2) then manually open the project file again, add back {E53F8FEA-EAE0-44A6-8774-FFD645390401}, and open project, I remember I waited for about 10 seconds, and it showed up a message about missing "Microsoft ASP.NET web Pages - Visual Studio 2010 Tools" (actually in control panel => program list, it got installed already), and ask me to install it using ASP.NET install consol. I clicked yes, after the installation is done, I can open the project and compile it.

Hope this helps your case.

1
  • Also, if you get similar errors, please check this link first, it should resolve most cases. link
    – Victor Xie
    Feb 24, 2016 at 14:15
0

In general Mvc3 is not supported after VS2010,I use VS2010SP1 btw. You may make it work but it will bite you in the end. So i recomend choosing matching VS and MVC versions(check the official microsoft site to see the connenction)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.