问题
Up to TFS 2017 there was a library in Plugins folder called Microsoft.TeamFoundation.Framework.Server it contained ISubscriber interface which one could override in order to attach hooks and add behavior for events such as build completed or new push to the git repository. The library is missing in TFS 2018. Does anyone know how do we maintain our plugins now?
回答1:
The library is still there, just under the TFS 2018 install directory. If you’re deploying your plugins into TFS 2018 you will need to recompile them against the 2018 references.
We have several plugins subscribing to WorkItemChangedEvent
, Git PushNotification
event and BuildDefinitionChangingEvent
and they all work up to and including TFS 2018 Update 3.
来源:https://stackoverflow.com/questions/49451282/is-isubscriber-still-supported-in-tfs2018