Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Shortcut keys not working (Visual Studio 2010 with ASP.NET MVC 3 RC1)

None of these shortcut keys appear to be working for me in VS 2010 with ASP.NET MVC 3 RC1.

I particularly would like to use CTRL + M, CTRL + G to "Go To Controller" but I keep receiving the error:

The key combination (CTRL+M, CTRL+G) is bound to command (Go To Controller) which is not currently available.

Thrown by the VS IDE. I have tried this obviously within an ASPX view file in Source code mode, but no luck. I receive the same error for all shortcuts tried.

PS: I am running ReSharper 5; could this be interfering?

like image 338
GONeale Avatar asked Dec 03 '10 04:12

GONeale


1 Answers

The shortcut keys in ASP.NET MVC 3 unfortunately conflict with the shortcuts from ASP.NET MVC 2. This means that when both products are installed (or, at least, their VS add-ins) the shortcuts won't work properly.

One workaround is to uninstall the versions of ASP.NET MVC that you are not using. You can uninstall the "tooling" components from Add/Remove Programs in the Windows Control Panel.

like image 72
Eilon Avatar answered Sep 23 '22 00:09

Eilon