How do I add ASP.NET MVC 3 Web Application in Visual Studio 2010?

61,753

Solution 1

You need to go to http://www.asp.net/mvc/mvc3 and download the MVC3 installer. Then you will be good to go.

Solution 2

Download and install MVC 3 via web platform installer http://www.microsoft.com/web/gallery/install.aspx?appid=MVC3

When you create a new project, make sure you have selected .NET Framework 4 in the drop down. You should be able to see both ASP.NET MVC 2 Web Application and ASP.NET MVC 3 Web Application

Solution 3

If you have the Web Platform Installer, you can get it that way, and it's probably the easiest way. If you don't have the Web Platform Installer, get it here:

Web Platform Installer

Solution 4

None of these worked for me. If you're using VS2010 SP1 then take a look at this article.

It worked.

Extract the exe with Winrar or similar and run the MSI files manually.

Apparently the exe fails due to the newer version of NuGet.

http://tedgustaf.com/en/blog/2011/4/installing-asp-net-mvc3-on-visual-studio-2010-sp1/

Share:
61,753
kheya
Author by

kheya

Updated on September 22, 2020

Comments

  • kheya
    kheya over 3 years

    I have VS 2010 as follow:

    Microsoft Visual Studio 2010

    Version 10.0.30319.1 RTMRel

    Microsoft .NET Framework Version 4.0.30319 RTMRel

    Installed Version: Ultimate

    ASP.NET MVC 3 Web Application project template is not available. I just see ASP.NET MVC 2 Web Application project template. How do I add MVC 3?

    Just trying to follow the right path before I screw up my current installation.

    Thanks

  • kheya
    kheya about 13 years
    I saw some people had issues with that stuff. Look here haacked.com/archive/2011/04/12/…
  • Chris
    Chris about 13 years
    All I can say is that I've installed it with the downloaded installer and it works perfectly.
  • xr280xr
    xr280xr over 11 years
    Seriously, how can this installer take this long? I'm at 30 min and it's still going...