Shortcuts not working in Visual Studio 2012

Shortcut problem for MVC specifically in VS2012.

The key combination (CTRL + M, CTRL + G) is tied to a command (Go To View) which is currently unavailable.

But, for example, Refactor-> Rename work.

  • Disabling ReSharper does not help.
  • It works in VS2010, but not in VS2012.

I examined a related question: Inactive shortcut keys (Visual Studio 2010 with ASP.NET MVC 3 RC1)

This problem was previously in VS2010, and the accepted answer solved this problem.

+6
source share
1 answer

I also had this problem. The problem was in the project file, and it worked for me:

  • Create a new MVC project (you can use a basic template)
  • Open the newly created project file and copy the <ProjectTypeGuids> Element
  • Open the project file that is causing the problem and replace it with <ProjectTypeGuids> Element
  • Reload the project and it should work.
+3
source

Source: https://habr.com/ru/post/924036/


All Articles