我正在尝试使用BuildHttpClient获取集合的构建信息。但它在扔
VssResourceNotFoundException:API 资源位置 {GUIS} 未在http://tfsserver/tfs 上注册
以下代码示例产生错误:
var url = new Uri("http://tfsserver:8080/tfs");
TfsTeamProjectCollection ttpc = new TfsTeamProjectCollection(url);
BuildHttpClient client = ttpc.GetClient<BuildHttpClient>();
List<Build> builds = client.GetBuildsAsync().Result;
Run Code Online (Sandbox Code Playgroud)