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.
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.
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.
Microsoft has released updated Web Tools 2013.1 that provide the support:
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.
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.
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