Often, when you sit on large projects, especially at night , it takes a long time to build, but it is even more wasted due to the fact that at the end of the default project there is no sound notification that can wake you up . How can such a notification be configured?
|
3 answers
You need:
- Create a * .bat file with the
@echo •
command@echo •
- Open project properties in Visual Studio, then Build Events> Post-Build Event> Command Line> Edit
- Enter the command call <batch file name> (for example, call C: \ beep.bat)
- Save changes and protest.
|
Add to the project in the Target Name="AfterBuild"
call Sound from msbuildextensionpack
|
It turned out to start the music with the command (Open project properties in Visual Studio, then Build Events> Post-Build Event> Command Line> Edit Enter command->)
|