Which nuGet package for namespace Microsoft.TeamFo

2020-05-03 01:16发布

问题:

I'd like to implement a server side plugin for TFS 2015, actually an event handler. I've found several examples which start with the general instruction like "Just implement the ISubscriber interface...". This should be in the namespace Microsoft.TeamFoundation.Framework.Server. But I am not able to find a nuGet package containing this interface. I've already installed almost all available TeamFoundation packages available. But to no avail.

Could somebody point me into the right direction, please?

回答1:

You need to get Microsoft.TeamFoundation.Framework.Server.dll from the Application Tier machine of TFS, which is supposed under C:\Program Files\Microsoft Team Foundation Server 14.0\Application Tier\Web Services\bin.