2

Currently, I created a ASP.NET Core Web app using VS2019, came across that 'Add Areas' option is missing from Context menu.

(right click on project name)

I tried this solution and Add New Scaffolded Item but there is no MVC Area option in below window:

enter image description here

3 Answers3

6

Apparently this option has not been deleted and has only been moved to the Common section

enter image description here

2

Just right click on the project name and add a New Folder named Areas. Be sure that the name is exactly Areas. After that, you can right click on area Folder and add a new area. Good luck

Khatere Rezaei
  • 104
  • 1
  • 1
  • 5
1

To add a new Area, Right Click on application name from solution explorer -> Select Add -> Select New Scaffolded Item -> select MVC Area from middle pane of dialog box -> Enter Name -> Click Ok.

Laxmikant
  • 588
  • 4
  • 11