Click here to Skip to main content
15,886,545 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
hi every one
i use vs 2015 now i want to use asp.net mvc 4 but there is no option show in my vs 2015 .Only one option is show ASP.Net there is jo iption for asp.net mvc 2,3 and 4.
any one tell me how can i add asp.net mvc 4 in vs 2015 and releted files for starting Web Development

What I have tried:

i have no idea how can do this
Posted
Updated 6-Sep-18 8:17am

If you are using Visual Studio 2015, then I would recommend you to jump over to ASP.NET MVC 5 instead. Here's a getting started article for that: ASP.NET MVC 5: Building Your First Web Application - Part 1[^]

ASP.NET MVC 5 should be available when you select .NET Framework 4.5 or higher in your Visual Studio 2015.

If you can't find that template then you can either:

(a) add the MVC 5 as nuget package so it will be added to your project: NuGet Gallery | Microsoft.AspNet.Mvc 5.2.6[^]
(b) download and install the 2015 web framework and tools: Microsoft ASP.NET Web Frameworks and Tools 2015 - Visual Studio Marketplace[^]
 
Share this answer
 
Comments
Fahid Zahoor 12-Sep-18 12:26pm    
please suggest which version of VS 2015/Vs 2017 is best for MVC 5.
Vincent Maverick Durano 13-Sep-18 10:47am    
Well if you have VS2017 then that's surely your best choice to take advantage of the new features the tool has offered. Otherwise, VS2015 is fine.
Fahid Zahoor 14-Sep-18 5:31am    
i have both version but i'm beginner so you suggest me as a beginner which version is best for practices
Vincent Maverick Durano 14-Sep-18 10:20am    
Get VS2017.
Fahid Zahoor 16-Sep-18 4:21am    
ok thanks. MVC 5 is available in community version of vs 2017
Google found this in less than a minute: https://docs.microsoft.com/en-us/aspnet/mvc/mvc4[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900