Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio (2005 & 2008) Compile Completed Alert?

Does anyone know of any kind of plugin or alert system which will let me know when my compiles are completed? Some of the solutions I work with are gigantic and sometimes the compiles can take 5-20 minutes (depending on the PC). Thus I would like to do something else in the meantime, but I don't want to keep checking back to see if the compile is done. Is there any way to have a windows alert, or flash the screen when the compile is done?

It would let me browse the internet whilst waiting for the compile to finish without worrying that its been complete and I'm just wasting time.

like image 872
Paul Avatar asked May 05 '10 15:05

Paul


2 Answers

Another way is a sound cue. Control Panel + Sound, Sound tab. In the Program Events list, locate the "Microsoft Visual Studio Macros" group, assign sounds to "Build Failed" and "Build Succeeded".

like image 92
Hans Passant Avatar answered Nov 30 '22 05:11

Hans Passant


OnBuildDone

Private Sub BuildEvents_OnBuildDone( _
ByVal Scope As EnvDTE.vsBuildScope, _
ByVal Action As EnvDTE.vsBuildAction) _
Handles BuildEvents.OnBuildDone
'Alert that we finished building!
System.Windows.Forms.MessageBox.Show("Build is complete!")
End Sub

http://visualstudiohacks.com/general/customize-your-project-build-process/

like image 33
Raj Kaimal Avatar answered Nov 30 '22 06:11

Raj Kaimal