TfsTeamProjectCollection API
|
我正在使用TFS API连接到Team Foundation Server。在服务器URI中,我正在传递服务器的主机名。
我收到了错误的URI格式错误。
teamFoundationServer = new TfsTeamProjectCollection(new Uri(this.Server,UriKind.Absolute),this.Credentials);
teamFoundationServer.EnsureAuthenticated();
没有找到相关结果
已邀请:
1 个回复
膏焦凑
在MSDN上有一个连接示例,但是它会遍历TFS实例上的所有项目集合,但是使用该示例代码,您可以检查TfsTeamProjectCollection.Uri以确认要使用的正确URI。