Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to get notification when a successful build has finished?

I'm writing an VS add-in and I need to run a certain method after a successful build. I've tried using dte.Events.BuildEvents.OnBuildDone but that event happens even if the build failed.

Is there a property or some other event I should use?

like image 877
Dror Helper Avatar asked May 10 '10 10:05

Dror Helper


People also ask

How do I get notified when changes occur to an item?

You can get notified when changes occur to the following items: For example, you can get notified whenever you or your team resolves a bug or are assigned a work item. Notifications get sent based on set up rules or subscriptions. Subscriptions arise from the following instances:

How do I get notifications when a terminal task is running?

Once the long-running task finishes you'll get a nice modal popup: When you click the notification, it will activate Terminal. If you go to System Preferences > Notifications > terminal-notifier and change the alert style to "Alerts", the notification will persist until you dismiss it. Use Growl.

When will group members continue to receive notifications of approvals?

Group members shall continue to receive notifications when approvals are explicitly assigned to them, or if they have another subscription for the same. I received a notification. How do I know what subscription caused it to be delivered to me?

What are notifications in Azure DevOps?

Notifications help you and your team stay informed about activity that occurs within your projects in Azure DevOps. You're notified when changes occur to the following items: For example, you can get notified whenever you or your team resolves a bug or are assigned a work item. You receive notifications based on rules or subscriptions.


1 Answers

The OnBuildDone event cannot tell you what happened. Some projects in the solution might have built properly, some didn't. You'll need OnBuildProjConfigDone instead. Fires for each project, the Success argument tells you if it worked.

like image 83
Hans Passant Avatar answered Oct 21 '22 17:10

Hans Passant