Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to create MVC project in visual studio 2017?

Already I have visual studio 2015, recently I installed visual studio 2017. I have the.NETCore 2+ SDK installed. But when I want to create the new project, I am not able to create MVC project. Please guide me.

like image 892
mahdis dezfouli Avatar asked Jun 27 '18 08:06

mahdis dezfouli


People also ask

What version of MVC is in Visual Studio 2017?

This tutorial teaches you the basics of building an ASP.NET MVC 5 web app using Visual Studio 2017.


1 Answers

First of all: make sure you installed the web development workload.

Steps to follow

  1. Search and launch Visual Studio Installer
  2. Click on Modify
  3. Choose ASP.NET and web development Choose the ASP.NET and web development workload
  4. Make sure that the option .NET Framework 4 – 4.6 development tools is checked on the right side, under ASP.NET and web development
  5. Click on Modify to install the workload

After relaunching VS2017, choose ASP.NET Core Web Application:

Choose ASP.NET Core Web Application

Hopefully this solves your problem :-)

like image 173
Matthijs Avatar answered Nov 12 '22 04:11

Matthijs