views:

215

answers:

3

Hi,

many times i accidentally click on "rebuild" when i plan just to click on "build". This rebuild process may take so long time if there are dependencies of this project...

do you know any plug-in or a configuration that makes visual studio to ask me if i am sure to rebuild this project...

i hope there is a way to handle this situation...

Thanks.. :)

+1  A: 

Press F6 to Build (or Shift+F6 to build just one project). There is no hotkey for rebuild in any of the default setups (I think), so you can't hit it by accident ;)

Thorarin
but there are many projects and many times i build different projects...
ufukgun
A: 

Go to Tools, Customize. Amend the menus and/or toolbars to suit you. For example you might prefer a custom toolbar that contains just the functionality you want without a Rebuild button on it.

Also try bypassing the mouse altogether with the keyboard shortcut for build: Ctrl+Shift+B. There is no default keyboard shortcut for rebuild so there's no chance of activating that accidentally. (Also, the keyboard shortcuts can also be changed by clicking Keyboard at the bottom of the Customize dialog.)

Alex Angas
A: 

you can hit ctrl+break to cancel a build.

leewillis
after cleaning the whole solution, do you think it matters to stop build?
ufukgun