ultimate visual studio. Installs mvc3 but doesnt show it

1

When I try to create a new project, and go to web, no mvc project appears for me to choose.

Why is that? and why the microsoft installer says that the mvc3 is installed at the end of the installation, but actually, the installation isnt installed, cause I cant create any mvc project :(

UPDATE:

i tried another asp.net mvc3 installer and it gave me this at the end of the installation.

Error:

OS Version = 5.1.2600, Platform 2, Service Pack 3 OS Description = WinXP - x86 Professional Service Pack 3 CommandLine = j:\temp\ext47334\setup.exe TimeZone = Jerusalem Standard Time Initial LCID = 1033 Using Simultaneous Download and Install mechanism Operation: Installing Package Name = Microsoft ASP.NET MVC 3 Package Version = 3.0.20105.0 User Experience Data Collection Policy: UserControlled Number of applicable items: 3 Exe (j:\temp\ext47334\VS10-KB2483190-x86.exe) succeeded. MSI (j:\temp\ext47334\AspNetMVC3VS2010Tools.msi) Installation failed. Msi Log: Microsoft ASP.NET MVC 3_20120224_101806156-MSI_AspNetMVC3VS2010Tools.msi.txt Final Result: Installation failed with error code: (0x80070643), "Fatal error during installation. " (Elapsed time: 0 00:02:56).

visual-studio-2010
asp.net-mvc-3
asked on Stack Overflow Feb 24, 2012 by BlackFire27 • edited Feb 24, 2012 by BlackFire27

3 Answers

2

ASP.NET MVC 3 uses a Web Application template and not a WebSite. So go to File -> New Project and not File -> Web Site ... or simply use Ctrl+Shift+N:

enter image description here

in contrast to a new Web Site:

enter image description here

answered on Stack Overflow Feb 24, 2012 by Darin Dimitrov
1

Have you changed the .net Framework version in the dropdown at the top of the add new project box? The ASP MVC new project types only show up when .net Framework 4 is selected.

answered on Stack Overflow Feb 24, 2012 by Tollo
1

This has happened to me in the past, and its always been down to VS settings:

  • Check that you have C# selected as your language.
  • Check that you have .Net 4.0 (or higher) selected as your platform
answered on Stack Overflow Feb 24, 2012 by Stuart

User contributions licensed under CC BY-SA 3.0