How can I get the outcome of a Build after every build

I want to write an Resharper extension that performs an action after every build,
so I guess I need to first know when a build has completed and the also
find out about if the build wa successful or not

Any tips about how to do that?

(I'm completely new to making extensions)
thanks in advance

1 comment
Comment actions Permalink

Hi Niklas,

don't know if you are still working on your extension... ;)

I am currently writing an extension that performs an action when a build is starting:

myBuildEvents = Shell.Instance.GetComponent<DTE2>().Events.BuildEvents;
myBuildEvents.OnBuildBegin += OnBuildBeginAction;

I tried many ways, this one worked for me, after setting the extensions .NET version to 3.5... ;)




Please sign in to leave a comment.