I am trying to get the build information of a collection using BuildHttpClient. But it is throwing
VssResourceNotFoundException: API resource location {GUIS} is not registered on http://tfsserver/tfs
The following code sample produces the error:
var url = new Uri("http://tfsserver:8080/tfs");
TfsTeamProjectCollection ttpc = new TfsTeamProjectCollection(url);
BuildHttpClient client = ttpc.GetClient<BuildHttpClient>();
List<Build> builds = client.GetBuildsAsync().Result;