Visual studio 2008 keyboard shortcuts
In VS2008 I'm trying to add a keyboard shortcut for "Get Latest Version (recursively" and "Rebuild Solution".
I go to tools-->options-->environment-->keyboard
found "File.GetLatestVersion", "File.GetLatestSolutionFiles" and "Build.RebuildSolution".
I chose "use new shortcut in" to be Global/VisualStudio, but in both cases no shortcut I assign (and is accepted. I can see it later on listed as a shortcut) responds when I try to click it when I'm working.
开发者_运维知识库What am I doing wrong? How can this be solved?
Well in VS2005 with a C++ project, and VS2008 with a C# project assigning a shortcut worked for me.
Steps:
- open tools -> options -> environment - > keyboard
- in 'show commands ..' enter 'build.r'
- select 'Build.RebuildSolution'
- in 'Press shortcut keys:' press Ctrl+M, Ctrl+B
- press 'Assign'
- The combo appears in the "Shortcuts for selected command:" combo as global
- press 'Ok'
then press combo, and watch solution rebuild.
For both versions, having the current file in focused as a non-project did not affect the shortcut, as I thought it might.
精彩评论