Visual Studio IDE: I want it to make a sound after

2019-01-22 16:50发布

Would be a nice thing - do I have to write a script or can't I just tweak the build script to do some task?

3条回答
甜甜的少女心
2楼-- · 2019-01-22 17:31

Windows already has support for this, go to the Control Panel and open up Sounds and Audio Devices. Under the Sounds tab there is a section for program events. If you scroll down far enough one of the sections will be Microsoft Visual Studio. Then just pick the sound you want to hear for Build Succeeded and Build Failed. You will need to restart Visual Studio after choosing your sounds.

查看更多
相关推荐>>
3楼-- · 2019-01-22 17:37

I also wrote an extension for Visual Studio to achieve that. It also can play a sound when tests finished to run.

Visual Studio Ding extension

查看更多
\"骚年 ilove
4楼-- · 2019-01-22 17:39

If you don't want to enable it for every single build, you can make an application that plays a sound, and add it into the post build event for that project.

查看更多
登录 后发表回答