Reputation: 489
I'm trying to connect some C# code to a Microsoft TeamFoundation Server, but I can't seem to find any documentation for Visual Studio 2015 (Typical Microsoft?) But I did find something for Microsoft Visual Studio 2013. (https://msdn.microsoft.com/en-us/library/bb286958)
It turns out that they have broken the old way (2013 way) by removing the Microsoft.TeamFoundation.Framework
import, so their example code, using Microsoft.TeamFoundation.Framework.Client;
won't work :(
Now they still have some of the old libraries needed, like Microsoft.TeamFoundation.Client found in C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\CommonExtensions\Microsoft\TeamFoundation\Team Explorer
[See Where can I find Microsoft.TeamFoundation.Build.Client in Visual Studio 2015? ]
and they have a "2015 .NET Libraries download" thing from 'NuGet' (mentioned in above link) but.. It doesn't contain the needed library, Microsoft.TeamFoundation.Framework
!
...So my question is, does anyone have any information on the "new and improved" way to connect to this? I would try creating the project as a Team project, to see if it has some sort of setting built-in, but sadly I think that is out of the question, as I do not have access to create new team projects in Visual Studio online.
Upvotes: 3
Views: 4466
Reputation: 52788
There are now a series of nuget packages for TFS and VSTS.
The traditional object model can be found in the Microsoft.TeamFoundationServer.ExtendedClient pacakge.
There are other packages for the REST API, Account Details and Interactive sign-in.
The following description of the packages comes from this blog post:
You can see the relationships here:
Upvotes: 6