I need to query and get the test results trx file from TFS 2013 so that I can modify that and use it for report generation. I couldn't find any method in IBuildServer that allows me to query the trx file. Is it posible to read the file using BuildDetail.DropLocation
where I have the string that tells me the location of trx file. I have written few lines as below
TfsSerice = TfsTeamProjectCollectionFactory.GetTeamProjectCollection(new Uri(tfsUri));
TfsSerice.EnsureAuthenticated();
var buildServer = (IBuildServer)TfsSerice.GetService(typeof(IBuildServer));
BuildDetail = buildServer.QueryBuilds("MyUserLibrary").FirstOrDefault();