난 다음, TFS에서 조회 할 API를 사용할 수있는 것은 내 코드입니다.
using System;
using Microsoft.TeamFoundation.Client;
using Microsoft.TeamFoundation.VersionControl.Client;
namespace _0914_GetChangesetDetails
{
class Program
{
static void Main(string[] args)
{
TfsTeamProjectCollection tpc = new TfsTeamProjectCollection(new Uri("http://server:8080/tfs/CollectionLC"));
new System.Net.NetworkCredential("Domain\user", "password");
tpc.EnsureAuthenticated();
VersionControlServer vcs = tpc.GetService<VersionControlServer>();
int cid = vcs.GetLatestChangesetId();
string path = "$/0418Scrum";
var history = vcs.QueryHistory(path, RecursionType.Full, 10);
Console.WriteLine("Following are the latest 10 changeset in " + path + ":");
foreach (Changeset item in history)
{
Console.WriteLine("{0} {1} {2} {3}", item.ChangesetId, item.Owner, item.CreationDate, item.Comment);
}
Console.WriteLine("The latest changeset ID is:" + cid);
Console.ReadLine();
}
}
}
당신은 무엇을하려고 했습니까? – isalgueiro