快捷键不工作(Visual Studio 2010中的ASP.NET MVC 3 RC1) [英] Shortcut keys not working (Visual Studio 2010 with ASP.NET MVC 3 RC1)

查看:364
本文介绍了快捷键不工作(Visual Studio 2010中的ASP.NET MVC 3 RC1)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

的<一无href=\"http://blogs.msdn.com/b/webdevelopertips/archive/2009/05/31/tip-67-did-you-know-the-list-of-asp-net-mvc-shortcuts.aspx\">these 似乎是为我工作在VS 2010中的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.

我特别想用<大骨节病> CTRL + <大骨节病> M ,<大骨节病> CTRL + <大骨节病G 以转到控制器但我不断收到错误:

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

组合键(CTRL + M,CTRL + G)
  势必命令(转到控制器)
  这是当前不可用。

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

由VS IDE抛出。我在源$ C ​​$ C模式的ASPX视图文件中显然想这一点,但没有运气。我收到的所有快捷键同样的错误尝试。

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:我正在运行的ReSharper 5;这会是干扰?

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

推荐答案

在ASP.NET MVC 3遗憾的是与ASP.NET MVC 2的快捷键冲突的快捷键这意味着,当两个产品安装(或在至少,他们VS加载项)的快捷方式将无法正常工作。

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.

一个解决方法是卸载,你是不是使用ASP.NET MVC的版本。您可以从加卸载工具的组件/ Windows控制面板中的删除程序。

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.

这篇关于快捷键不工作(Visual Studio 2010中的ASP.NET MVC 3 RC1)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆