How do I cancel a build that is in progress in Visual Studio?

Valamas picture Valamas · Jan 25, 2012 · Viewed 117.1k times · Source

Almost unconsciously I hit the keyboard build macro that builds my entire solution. This can happen just as I notice a code change. The build dominates my computer, and I basically have to wait till it finishes. 10 seconds!

How can I cancel a build?

Answer

Chris Subagio picture Chris Subagio · Jan 25, 2012

You can hit Ctrl+Break on the keyboard to cancel/stop a build that is currently in progress.