Recently the option of my Adicionar controller
has disappeared from the menu.
I'm using Visual Studio 2013, and the project is ASP NET MVC, version 5.1.
How to fix this problem?
Recently the option of my Adicionar controller
has disappeared from the menu.
I'm using Visual Studio 2013, and the project is ASP NET MVC, version 5.1.
How to fix this problem?
Create a new MVC 5.1 project. If the option works in this new project, open the new .csproj file in a text editor and look for the <ProjectTypeGuids>
tag. It contains the list of template GUIDs associated with the project. One of these GUIDs is that of MVC projects.
Compare to .csproj of your original project and add whatever is missing.
This has happened to me in previous versions of MVC and I've fixed that way.
NO visual studio 2012 this option already comes by default as you know. Have you tried using the same VS12 shortcut: CTRL + M, CTRL + C?