简体   繁体   中英

How to Create an ASP.NET MVC 4 project in visual studio 2015

From microsoft msdn:

When you use MVC 4 projects in Microsoft Visual Studio 2015 RTM, you can open existing projects only in the IDE because the tooling support for MVC 4 is removed in Visual Studio 2015 RTM

https://msdn.microsoft.com/en-us/library/mt591926.aspx

Is any one knows some way to Create an ASP.NET MVC 4 project in visual studio 2015?

I also make an empty web application using .net 4 in VS2015 and add mvc4 package from nuget, but cannot make a clean project on it.

As the answer Does Visual Studio 2015 support older versions of MVC? states you cannot create an older MVC project in Visual Studio 2015 (although they can be opened).

So it is the easiest way to install Visual Studio 2013 and create the project there. Afterwards all work can be done in Visual Studio 2015. If you do not want a side by side installation on your working machine, you can install Visual Studio 2013 in another environment (like a virtual machine).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM