When I run a build, sometimes I see a code change I forgot. So I want to cancel the build. Due to the build locking up my IDE, I have to use Ctrl+Break, however, it does not respond fast enough.
I am looking for a command line approach so I can just hit a batch file in my quick launch. I tried this command:
Taskkill /IM aspnet_compiler.exe /F
However, this only stops the current project from building and the next one in my multi-project solution starts up.
How can i cancel a build using command line?