TFSAPI
      42.95k    0 Comments

(Here’s the link to Part 2) If you’ve ever written a utility to do TFS “stuff” using the TFS API, you probably tested by hitting F5 and stepping through a bit before letting any large loops do their thing. So what happened to all the goodness is expected of good developers – for example unit testing? Well, it turns out it’s insanely difficult to test any code that depends on the TFS APIs. You ...
TFSAPI
      13.81k    2 Comments

RunQuery won’t work for Hierarchical Queries Using the TFS API to display results of a flat query is fairly straightforward – once you have the WIQL you just execute the RunQuery() method and voila – a nice WorkItemCollection for you to enumerate over. However, if you try to execute RunQuery() on a tree or one-hop WIQL, you’ll see this error message: TF248021: You have specified a query string ...