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?
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:
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.
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?
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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With