How can I get project list in VSTS Beta3 !!

I used the following code to get project list in vsts beta 2. But in beta 3, I can't find the 'BisProxyServices'.

BisProxyServices bps = new BisProxyServices();
      
   ICommonStructureService iss = bps.GetTfsProxy(Tfs, typeof(ICommonStructureService)) as ICommonStructureService;
   ProjectInfo[] projects = iss.ListProjects();

Is 'BisProxyServices' renamed or moved to different assembly

What is the best way to get the project list in beta 3


Answer this question

How can I get project list in VSTS Beta3 !!

  • CynthiaCC

    To follow up on Brian's reply, James Manning posted a little app on his blog that will list the team projects on a server.  He also explains the difference between ListProjects() and ListAllProjects().

    simple command-line example: listing the team projects on a server
    http://blogs.msdn.com/jmanning/archive/2005/10/14/481105.aspx

    Buck



  • Tamer Darweesh

    I don't have the exact API names in front of me right now but you use something like.

    TeamFoundationServer tfs = TeamFoundationServer.GetServer(url, ...);
    ICommonStructureService iss = (ICommonStructureService)tfs.GetService(typeof(ICommonStructureService);
    then do what you always did.

    Brian


  • How can I get project list in VSTS Beta3 !!