visual studio 2013 'add controller' missing

后端 未结 8 2154
轻奢々
轻奢々 2020-12-11 00:31

I update the visual studio 2010 project to visual studio 2013. Then I want to ad a new controller. but there is no add Controller option.

8条回答
  •  攒了一身酷
    2020-12-11 00:59

    Make sure your .proj file includes all the appropriate project type Guids.

    {E3E379DF-F4C6-4180-9B81-6769533ABE47};{349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}
    

    The first GUID allows all standard MVC operations in the context menus.

提交回复
热议问题