Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3231732
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T17:04:46+00:00 2026-05-17T17:04:46+00:00

Our shop is set up with a Team Foundation 2005 server but all development

  • 0

Our shop is set up with a Team Foundation 2005 server but all development work is done in Visual Studio 2008.

What I would like to be able to do is write a program that examines the build history of a given Build Definition and extract out the test results to produce pretty graphs of the sort that Team Build really doesn’t give.

However, I’m having trouble getting the build service out of the TFS API. Referencing the TeamFoundationClient dlls in VS2008 obviously gets me the TFS2008 client objects, and TFS2005 allows me to connect, but I can’t interrogate the 2008 Build Server service:

TeamFoundationServer teamServer = TeamFoundationServerFactory.GetServer(m_tfsServerName);
teamServer.EnsureAuthenticated();

IBuildServer buildServer;
try
{
    buildServer = (IBuildServer)teamServer.GetService(typeof(IBuildServer));
}
catch(Exception ex)
{
    // Error thrown:
    // System.NotSupportedException
    // "TF214015: The build client object model does not support Team Foundation Server 2005."
}

I found the following post on using the 2005 API: http://notsosmartbuilder.blogspot.com/2006/12/get-build-changes-changesetdata.html

However, the BuildStore object is no longer a part of the 2008 client object model. Can I get access to the 2005 client dlls in any way? I can get VS2005 with Team Explorer installed on my developer machine, is there a simpler way however? Would I also be able to reference certain DLLs (which??) from the 2005 installation from a VS2008 project or would it be less painful to simply develop the thing in VS2005?

Any other alternative approaches that I might be able to try out? (BuildLoggers to collect the information at build time and store it myself; a way of parsing the .trx files (did I mention that we have multiple trx files per unit test run?); using TFS Reporting (although our Report Service is broken on our TFS installation) etc?)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T17:04:46+00:00Added an answer on May 17, 2026 at 5:04 pm

    If you install Team Explorer 2005, you can access the DLLs needed from VS2008. However, they did not show up under the .NET tab in VS2008 Add References dialog, I had to browse to them in the installed folder of Team Explorer 2005.

    I had VS2005 installed, so for me the DLLs ended up in Program Files\Microsoft Visual Studio 8\Common7\IDE\PrivateAssemblies\

    The DLLs I needed to add references to for basic enumeration of the build history and checking test results were:

    • Microsoft.TeamFoundation.Client
    • Microsoft.TeamFoundation.Common
    • Microsoft.TeamFoundation.Build.Client
    • Microsoft.TeamFoundation.Build.Common
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Our shop is testing out Visual Studio 2012 so that we're ready to use
A little setup: Our shop has a mixture of different platforms. Almost all of
I am trying to output all the products from our Magento shop - the
Our small development shop is looking to migrate our projects from VSS to TFS,
We're not a windows shop, but one of our products is going to need
Our shop is primarily .NET but because of the lack of any really good
I'm trying to set up our TFS 2008 instance to require that projects build
The web shop where I work we do both .Net and PHP/Linux development. We'd
Our company's ecommerce shop uses magento application. Everything is going well but there is
At our shop, we are maintaining roughly 20 Java EE web applications. Most of

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.