How to access tfs(https://baconator.visualstudio.com/ -online tfs) workitem using C# RRS feed

  • Question

  •  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.


    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));




    • Moved by Caillen Saturday, April 25, 2015 7:40 AM
    Friday, April 24, 2015 1:52 AM


All replies

  • Hi Pramod,

    Visual C# forum is not the correct forum for your question, Visual Studio Online forum or TFS forum is better.

    Thanks for your understanding.

    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Saturday, April 25, 2015 7:40 AM
  • I'd try them over here.





    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows]

    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.

    • Proposed as answer by Just Karl Monday, April 27, 2015 10:46 PM
    • Marked as answer by Just Karl Monday, May 4, 2015 5:15 PM
    Saturday, April 25, 2015 12:49 PM