Reputation: 13721
The shortcut to Build
a solution in Visual Studio 2008 is Ctrl + Shift + B
.
I would like to know the default shortcut to Rebuild
the solution.
Upvotes: 40
Views: 16634
Reputation: 4393
Another way is to do this:
Tools >> Options >> Environment >> Keyboard.
Locate the textbox decorated by the 'Show commands Containing' lable.
Type >> 'Build.Rebuild' Select >> the rebuild type you want, you have two options to choose from.
Locate the textbox decorated by the 'Press shortcut Keys' lable.
Hit >> 'a key on your keyboard', i.e I used F6 for solution wide rebuild. Click >> the assign button. CLick >> O.K and to exit.
Finally load up a test project to test out the short cut.
Upvotes: 17
Reputation: 755041
The command Build.RebuildSolution
is not bound to any key combination in the standard profiles. However you can use the following trick to invoke it
Alt + B, R
This will navigate to the build menu via Alt + B and then R will select the Rebuild
option
Upvotes: 71
Reputation: 3768
In my installation, there is no default. I am configured for C#, it's possible other configurations will define this by default, but I don't think so. You can see if there is a key assigned by going to Tools -> Customize, clicking the Keyboard... button at the bottom and typing "Build.RebuildSolution" in the Show Commands Containing edit box. If there is a key assigned, it will show up at the bottom of the dialog.
Upvotes: 10
Reputation: 9021
There is no default shortcut to Rebuild Solution
.
In addition to the ways mentioned in other answers you can perform the rebuild by
Upvotes: 2