开发者

Visual Studio (2005 & 2008) Compile Completed Alert?

开发者 https://www.devze.com 2022-12-29 20:07 出处:网络
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 mi

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 compi开发者_JAVA百科le 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.


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".


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/


Growl http://www.growlforwindows.com + visual studio plugin http://www.growlforwindows.com/gfw/plugins/visualstudio

All the power of a notification system, including history, network broadcast, etc.

The same exits for snarl, another notification system on pc, same capabilities I guess


You could use the Post Build Event Commands.

Here's a tutorial

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号