This is crude, but it works well. The Visual Studio on one of my projects (I turn MVC view building on to catch markup errors), well, the project becomes unresponsive while building. I can't cancel the build using the keyboard shortcuts.
So I made this batch file that sits on my quick launch task bar.
@echo off
echo KILL BILLd
for /L %%i in (1,1,10) do (
Taskkill /IM aspnet_compiler.exe /F
timeout 1
)
I also made the batch file launch minimized. The build stops and Visual Studio just throws in the error window that there was a problem building.