Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I get notification that the local Visual Studio build is complete?

There doesn't seem to be a post-build solution task. One could presumably hack it by creating a dummy project that is the last one to build and put a beep in the post-build project.

like image 852
Kevin Driedger Avatar asked Nov 10 '09 18:11

Kevin Driedger


People also ask

What can you use the notification panel in Visual Studio to do?

The Visual Studio Notifications window notifies developers about licensing, environment (Visual Studio), extensions, and updates. Users can dismiss individual notifications or can choose to ignore certain types of notifications.

How do I create a Windows notification?

To get started, head to Settings > System > Notifications & actions‌ – or, if you're on a Windows 10 PC, click here to open notifications & actions. First, send notifications, reminders and alarms directly to the action center by right-clicking action center in your taskbar, then selecting Turn on quiet hours.

Why is Visual Studio not building?

Check your settings in Tools->Options. Go to the projects and Solutions area, Build and Run page. There is a setting "On Run, when projects are out of date:" Make sure this is set to 'Always build. '

What is a Visual Studio build?

Definition. A build is an option or a menu available in Visual Studio that is capable of performing an incremental build, whereas rebuild is an option or a menu in Visual Studio that cleans and builds the solution from scratch.


3 Answers

Do you need something like this (screenshot is there)?

Did you know you can assign sounds to a few Visual Studio events? You can assign a WAV file to play when a build fails or succeeds. Just open the Control Panel, select Sounds and Audio Devices and then click the Sounds tab. Scroll down to Microsoft Development Environment. I assigned my Build Succeeded to a WAV file of Darth Vader saying "All Too Easy" and my Build Failed to a WAV file of Han Solo saying "I got a bad feeling about this."

like image 168
Kirill V. Lyadvinsky Avatar answered Nov 15 '22 00:11

Kirill V. Lyadvinsky


There is Visual Studio Ding extension.

This small extension will play notification sounds when following events occur:

  • Build Complete
    • Entering debugger mode (breakpoint hit, etc)
    • Unit tests finished to run

https://visualstudiogallery.msdn.microsoft.com/941d0ed0-1218-452e-8585-d3ac693cda17

like image 45
vmg Avatar answered Nov 15 '22 01:11

vmg


The ToastNotifier Extension seems to work well for visual feedback.

like image 27
Bryan Matthews Avatar answered Nov 15 '22 01:11

Bryan Matthews