Reputation: 703
Would be a nice thing - do I have to write a script or can't I just tweak the build script to do some task?
Upvotes: 64
Views: 9305
Reputation: 10566
I also wrote an extension for Visual Studio to achieve that. It also can play a sound when tests finished to run.
Upvotes: 6
Reputation: 19469
If you don't want to enable it for every single build, you can make an application that plays a sound, and add it into the post build event for that project.
Upvotes: 7
Reputation: 14533
Windows already has support for this, go to the Control Panel and open up Sounds and Audio Devices. Under the Sounds tab there is a section for program events. If you scroll down far enough one of the sections will be Microsoft Visual Studio. Then just pick the sound you want to hear for Build Succeeded and Build Failed. You will need to restart Visual Studio after choosing your sounds.
Upvotes: 133