Displaying all branch hierarchies in TFS 2010

If you are utilizing the new TFS 2010 branch folder feature you can easily list the branch hierarchy in source control using the code below: 1: using System; 2: using Microsoft.TeamFoundation.Client; 3: using Microsoft.TeamFoundation.VersionControl.Client; 4:  5: namespace DisplayAllBranches 6: { 7: class Program 8: { 9: static void Main(string[] args) 10: { 11: string serverName…

2