2

Ctrl-Shift-B, by default, builds an entire solution. An entire solution may contain many projects. Compiling all at the same time may be very slow, especially when development is only occurring on a single project.

I have tried t remap Ctrl-Shift-B to Build.BuildOnlyProject, but it does not work. Nothing happens.

From the menu, the following option does exactly what I want:

Build -> Build [MY PROJECT NAME]
Brian Webster
  • 30,033
  • 48
  • 152
  • 225
Ray
  • 187,153
  • 97
  • 222
  • 204

1 Answers1

4

The command is Build.BuildSelection

To bind that to a key, click Tools | Customize | Keyboard... then search for it to bind it.

Note: Build.BuildOnlyProject does not work all the way through VS2010, at least.

Brian Webster
  • 30,033
  • 48
  • 152
  • 225
Rob Prouse
  • 22,161
  • 4
  • 69
  • 89