Visual Studio(2005和2008)编译完成警报?

Pau*_*aul 7 compilation visual-studio

有没有人知道任何类型的插件或警报系统,它会让我知道我的编译何时完成?我使用的一些解决方案是巨大的,有时编译可能需要5-20分钟(取决于PC).因此,我想在此期间做一些其他事情,但我不想继续检查以确定编译是否已完成.有没有办法让窗口警报,或在编译完成后刷新屏幕?

它会让我浏览互联网,同时等待编译完成而不用担心它已经完成而我只是在浪费时间.

Han*_*ant 16

另一种方式是声音提示.控制面板+声音,声音选项卡.在"程序事件"列表中,找到"Microsoft Visual Studio宏"组,将声音分配给"Build Failed"和"Build Succeeded".


Raj*_*mal 5

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
Run Code Online (Sandbox Code Playgroud)

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

  • 有没有办法在不使用PostBuild事件的情况下执行此操作?我问的原因是因为它在版本控制的解决方案中,并且很可能不是其他所有人都想要这个. (2认同)