While creating a ASP.NET MVC Core Web app using VS2017 / 2019, came across that 'Add Areas' option is missing from Context menu.
Asked
Active
Viewed 2.3k times
26

Lord Darth Vader
- 1,895
- 1
- 17
- 26

Akshay Chawla
- 613
- 1
- 8
- 16
-
Pls add your findings here: https://social.msdn.microsoft.com/Forums/vstudio/en-US/home?category=visualstudio They are the creators of VS2017 and will handle all missing features. – Jean-Paul Apr 11 '17 at 10:44
4 Answers
64
Area is not removed from VS 2017/19 but it is moved in Scaffolding and you can access the area using below steps:
1) Right click on your project and click on Add>New Scaffolded Item
2) After click choose the MVC area from the Menu:
3) After choosing give it Name, and after this the Area will be added to your project:
Hope it will helps.

Sunil Kumar
- 3,142
- 1
- 19
- 33
1
In my "Visual Studio 2019" I found via right click on project Add -> New Scaffolded Item -> Common -> MVC -> Area is available.

coolbuddy
- 11
- 1
0
I had a same problem and found that,Visual studio 2017 doesn't support Area

motevalizadeh
- 5,244
- 14
- 61
- 108
-
1They have removed the 'Add Area' option from context menu, that's it. But they still support 'Area' feature. – Akshay Chawla Apr 17 '17 at 13:53
-
yes , but user should handles everything menualy , like registering an Area – motevalizadeh Apr 17 '17 at 14:01
-
2yes everything has to be done manually, like creating creating folders of 'views', 'controller' etc etc which will be hectic task. – Akshay Chawla Apr 17 '17 at 14:12
0
I had missing Area on context menu. However, after building the project (2x) the Area was again visible on context menu.

William Monahan
- 41
- 4