Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Create and Run MVC 5 Project in VS 2012

For some reason my Visual Studio 2013 Preview cannot create MVC 5 Projects. Since the MVC project is now open source in CodePlex I was wondering if there's a simple way to develop MVC 5 projects in my Visual Studio 2012 Ultimate.

like image 783
Alireza Noori Avatar asked Jul 31 '13 10:07

Alireza Noori


People also ask

How do I create a new MVC project in Visual Studio 2013?

To create new project, Open Visual Studio, I am using Visual Studio 2013 and click on File Menu, then New and choose Project. It will open a new window from where you can choose the application type. Choose Web from Installed and then choose ASP.NET Web Application.

How do I create a new MVC project in Visual Studio 2017?

In the New project dialog box, select the Visual C# category on the left, then Web, and then select the ASP.NET Web Application (. NET Framework) project template. Name your project "MvcMovie" and then choose OK. In the New ASP.NET Web Application dialog, choose MVC and then choose OK.


1 Answers

Microsoft has released updated Web Tools 2013.1 that provide the support:

  • Description
  • Direct download

Note that I had to install it manually from the second link, the tools did not install properly from Web Platform Installer. Also a colleague had to install both Update 4 and these tools to get proper support.


Original answer (not actual anymore):

I received this answer from Microsoft developer:

MVC 5/Razor 3 tooling support for VS 2012 has not shipped yet. We hope to ship this support in Mid November.

Recently ASP.NET Program Manager from Microsoft mentioned in a talk that this would be included in VS2012 Update 4. Edit: unfortunately the support is not in Update 4.

So the accepted answer is true for now but we can plan to soon have this support in VS2012 as well.

like image 128
Knaģis Avatar answered Sep 16 '22 18:09

Knaģis