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 7621013
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T04:05:23+00:00 2026-05-31T04:05:23+00:00

Our server that has been used for our build drop locations is being retired.

  • 0

Our server that has been used for our build drop locations is being retired. I know how to change the current build definition to use the new server, but how do you change the historical records for builds that have already completed? I want to be able to open past builds and click on ‘Open Drop Folder’ and be taken to the new server. We will manually copy the old builds to the new server.

  • 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-31T04:05:25+00:00Added an answer on May 31, 2026 at 4:05 am

    The following sample seemed to work:

    using System;
    using System.Collections.Generic;
    using Microsoft.TeamFoundation.Build.Client;
    using Microsoft.TeamFoundation.Client;
    
    namespace ChangeDropLocation
    {
        class Program
        {
            static void Main()
            {
                TfsTeamProjectCollection teamProjectCollection = TfsTeamProjectCollectionFactory.GetTeamProjectCollection(new Uri("http://MyServer:8080/tfs/Collection"));
                var buildService = (IBuildServer)teamProjectCollection.GetService(typeof(IBuildServer));
    
                IBuildDetail buildDetail = buildService.GetBuild(new Uri("vstfs:///Build/Build/1506"));
                buildDetail.DropLocation ="\\somewhere";
                var buildDetails = new List<IBuildDetail>();
                buildDetails.Add(buildDetail);
                buildService.SaveBuilds(buildDetails.ToArray());
            }
        }
    }
    

    One thing that you should take into account is that you ‘ll probably be lacking the privilege to update build information. In my first attempt, although I am a Project admin, I got the following:

    TF215106: Access denied. DOMAIN\username needs Update build
    information permissions for build definition myBuildDefinition in team
    project MyTeamProject to perform the action. For more information,
    contact the Team Foundation Server administrator.

    In order to overcome this, set the right by right-clicking in TeamExplorer “Builds” & then select “Security…”.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We've got a company wiki running Mediawiki on our intranet that has been in
Our server recently has been going down a lot and I was tasked to
There is a page on our server that's reachable via two different URLs. http://www.spotlight.com/6213-5613-0721
Long story short, we found files promoting prescription drugs on our server that we
We have a self-signed certificate on our IIS7 server that is due to expire
Context: I need to develop a monitoring server that monitors some of our applications
I've got an iOS app that allows a user to connect to our server
Our dev server was recently upgraded to PHP v5.2.13. With that upgrade we have
I'm looking for a tool that can be installed on our monitoring server and
I have a program that will let me manage users on our terminal server

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.