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.
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?
nothing is to be done only Add=>scafolding=>MvC5
from the img you upload the Project you create is not the ASP.NET MVC Project Maybe try create a ASP.NET MVC Project will find it
In my case Unloding and Reloading the project solved the problem. To unload - right click on the project name and choose "Unload Project" from the context menu. Then again right click on the project name and select "Reload Project" from the context menu.
Make sure your .proj file includes all the appropriate project type Guids.
The first GUID allows all standard MVC operations in the context menus.
I was working with projects from a tutorial series. Tried addinging controller would lock up VS2013 for a few seconds but i couldnt add anything. no context menu would popup. I first needed to go into nuget package manager and update that. not sure if it's a missing GUID or some assembly but that fixed the issue.
Include Microsoft.ASP.NET MVC from Nuget Package in your project, you should be able to see the Add View menu when you right inside a method of controller class.