TFS2018 仍然支持 ISubscriber 吗? [英] Is ISubscriber still supported in TFS2018?

查看:27
本文介绍了TFS2018 仍然支持 ISubscriber 吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

直到 TFS 2017,Plugins 文件夹中有一个名为 Microsoft.TeamFoundation.Framework.Server 的库,它包含 ISubscriber 接口,可以覆盖该接口以附加钩子并为事件添加行为,例如构建完成或新推送到 git存储库.TFS 2018 中缺少该库.有谁知道我们现在如何维护我们的插件?

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?

推荐答案

库还在,就在 TFS 2018 安装目录下.如果您要将插件部署到 TFS 2018,则需要根据 2018 参考重新编译它们.

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.

我们有几个订阅了 WorkItemChangedEvent、Git PushNotification 事件和 BuildDefinitionChangingEvent 的插件,它们都适用于并包括 TFS 2018 Update 3.

We have several plugins subscribing to WorkItemChangedEvent, Git PushNotification event and BuildDefinitionChangingEvent and they all work up to and including TFS 2018 Update 3.

这篇关于TFS2018 仍然支持 ISubscriber 吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆