Answered by:
Use ISubScriber in TFS2012/2017 works fine, but cannot find namespace and dll for WorkItemChangedEvent Type in TFS 2019 (DevOps Server 2019

Question
-
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 2019 (DevOps Server 2019). Does anyone know how do we maintain our plugins now?
using Microsoft.TeamFoundation.Common;
using Microsoft.TeamFoundation.WorkItemTracking.Server;
public Type[] SubscribedTypes()
{
return new Type[1] { typeof(WorkItemChangedEvent) };
}Cannot find matched dll and namespace for WorkItemChangedEvent type.
- Moved by SadiqhAhmed-MSFTMicrosoft employee Friday, May 22, 2020 6:41 AM For better audience
Friday, May 22, 2020 12:49 AM
Answers
-
I'd try asking for help over here.
https://developercommunity.visualstudio.com/spaces/21/index.html
https://developercommunity.visualstudio.com/spaces/22/index.html
https://stackoverflow.com/questions/tagged/tfs
https://stackoverflow.com/questions/tagged/azure-devops
Regards, Dave Patrick ....
Microsoft Certified Professional
Microsoft MVP [Windows Server] Datacenter Management
Disclaimer: This posting is provided "AS IS" with no warranties or guarantees, and confers no rights.- Proposed as answer by Guido Franzke Wednesday, May 27, 2020 8:58 AM
- Marked as answer by Guido Franzke Tuesday, June 2, 2020 6:17 AM
Friday, May 22, 2020 11:42 AM
All replies
-
I'd try asking for help over here.
https://developercommunity.visualstudio.com/spaces/21/index.html
https://developercommunity.visualstudio.com/spaces/22/index.html
https://stackoverflow.com/questions/tagged/tfs
https://stackoverflow.com/questions/tagged/azure-devops
Regards, Dave Patrick ....
Microsoft Certified Professional
Microsoft MVP [Windows Server] Datacenter Management
Disclaimer: This posting is provided "AS IS" with no warranties or guarantees, and confers no rights.- Proposed as answer by Guido Franzke Wednesday, May 27, 2020 8:58 AM
- Marked as answer by Guido Franzke Tuesday, June 2, 2020 6:17 AM
Friday, May 22, 2020 11:42 AM -
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.Friday, May 22, 2020 12:47 PM -
This is "where is" forum for direction on where best to ask questions so I'd try asking for help in forums I linked.
Regards, Dave Patrick ....
Microsoft Certified Professional
Microsoft MVP [Windows Server] Datacenter Management
Disclaimer: This posting is provided "AS IS" with no warranties or guarantees, and confers no rights.Friday, May 22, 2020 12:57 PM