Visual studio 2017 / 2019 add areas missing

前端 未结 4 1902
误落风尘
误落风尘 2021-02-13 18:05

While creating a ASP.NET MVC Core Web app using VS2017 / 2019, came across that \'Add Areas\' option is missing from Context menu.

4条回答
  •  野性不改
    2021-02-13 18:14

    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.

提交回复
热议问题