TFS API - How to query builds independent of which build definition they belong to
It seems no overloads of IBuildServer.QueryBuilds(...) allows me to do that. Here's my code: TfsTeamProjectCollection tfs = context.GetValue(TeamProject); IBuildServer buildServer = (IBuildServer)tfs.GetService(typeof(IBuildServer)); buildServer.QueryBuilds( // **what should i put here?** I don't want to specify the build definition, because the build I want may be of any type. This question seems easy, but googling it gave me no answers. Robaticus This code will get all builds . . . ever TfsTeamProjectCollection tfs = new TfsTeamProjectCollection(new Uri("http://tfs:8080")); var vcs = tfs