Play Music After Build

Building our product can take 10-20 minutes depending on how much of the tree you have selected. In that time my mind will wander to Outlook emails and other tasks and I’ll forget to head back to my command window when the build is done. I now have the following setup.

msb now maps to the following command.

msbuild /m /nr:false /fl /flp:Verbosity=normal /clp:Summary;Verbosity=minimal & playdone

There’s nothing too special here except that after msbuild is done, it runs playdone.bat.

playdone.bat

@echo off
beep 1480 100
beep 1108 100
beep 1108 100
beep 1174 200
beep 1108 300
beep 1396 100
beep 1480 100