Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Shortcut to rebuild solution in Visual Studio 2008

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.

like image 407
reggie Avatar asked Sep 09 '11 18:09

reggie


People also ask

How do I rebuild all in Visual Studio?

To build, rebuild, or clean an entire solutionChoose Build All to compile the files and components within the project that have changed since the most recent build. Choose Rebuild All to "clean" the solution and then builds all project files and components. Choose Clean All to delete any intermediate and output files.

What is rebuild in Visual Studio?

Rebuild Solution - Deletes all compiled files and Compiles them again regardless of whether or not the code has changed.


2 Answers

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

like image 127
JaredPar Avatar answered Oct 06 '22 00:10

JaredPar


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.

like image 45
IbrarMumtaz Avatar answered Oct 06 '22 01:10

IbrarMumtaz