I am using online visual studio and TFS: https://baconator.visualstudio.com/.
I need to write C# utility which will get data from tfs for various project.
I am able to access to root folder of tfs using default collection but not able to use subfolder and work item. Please help.
var
tfsUri = newUri(@"https://baconator.visualstudio.com/DefaultCollection");
TfsTeamProjectCollectionprojCollection = TfsTeamProjectCollectionFactory.GetTeamProjectCollection(tfsUri);
ICommonStructureServiceIss = (ICommonStructureService)projCollection.GetService(typeof(ICommonStructureService));
ProjectInfo[] ProjInfo = Iss.ListProjects();
WorkItemStoreWIS = (WorkItemStore)projCollection.GetService(typeof(WorkItemStore));
Thanks,