Reputation: 6089
I was thinking of adding a 'Post build' step, which plays a silly fan fair effect when a build succeeds.
Is there a command line utility to play the sound effect or an easier way of achieving this vital programming goal!
Upvotes: 11
Views: 3073
Reputation: 10576
There is Visual Studio Ding extension.
This small extension will play notification sounds when following events occur:
Build Complete
Entering debugger mode (breakpoint hit, etc) Unit tests finished to run
https://visualstudiogallery.msdn.microsoft.com/941d0ed0-1218-452e-8585-d3ac693cda17
Upvotes: 2
Reputation: 1993
You could also take a look at this since it is actually an older duplicate of your question with more sugestions that might just work:
How can I get Visual Studio to beep at me if a build succeeds?
For VS 2008 and newer you should look at this (some people mention they have the options in Sounds and Audio Devices dialog with 2005 SP1 installed while others say with 2005 it never works/worked- but who knows maybe you just get lucky ;-)):
http://weblogs.asp.net/rrobbins/archive/2007/11/02/sound-events-for-visual-studio.aspx
Upvotes: 5
Reputation: 8339
If you don't mind the Windows Media Player popping up (and staying open), you could either try
"%ProgramFiles%\Windows Media Player\wmplayer.exe" foo.wav
or
start foo.wav
Or I guess you would have to use a custom sound player (or build your own).
Upvotes: 3