asp.netasp.net-mvcasp.net-corevisual-studio-2019asp.net-mvc-areas

Visual studio 2019 Add Area missing


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


Solution

  • 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