title: How to get the test results trx file(generated from vstest) from TFS Api
body: <p>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 <code>BuildDetail.DropLocation</code> where I have the string that tells me the location of trx file. I have written few lines as below </p>
  
  <pre><code>TfsSerice = TfsTeamProjectCollectionFactory.GetTeamProjectCollection(new Uri(tfsUri));
  TfsSerice.EnsureAuthenticated();
  var buildServer = (IBuildServer)TfsSerice.GetService(typeof(IBuildServer));
  BuildDetail = buildServer.QueryBuilds("MyUserLibrary").FirstOrDefault();
  </code></pre>