visual studio 2013 'add controller' missin

2020-02-06 04:53发布

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.

enter image description here

But If I create a new project in 2013 it already have the add Controller option. So how to add the new Controller? something missing in web.config or missing reference?

8条回答
劳资没心,怎么记你
2楼-- · 2020-02-06 05:44

I had problem with Add View and Add->Controller not showing up. My project type GUIDs were fine. What worked for me was uninstalling MVC and then reinstalling thru NuGet.

查看更多
登录 后发表回答