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

  • Home
  • SEARCH
  • 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 492237
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T02:05:31+00:00 2026-05-13T02:05:31+00:00

We have a TFS 2008 project with two branches (Main and NewFeature). Each is

  • 0

We have a TFS 2008 project with two branches (“Main” and “NewFeature”).
Each is a complete, independent “copy” (variant) of the source code.

By changing the workspace mappings, we can map either variant onto our local PCs and have been working with both branches with no problems.

However, if I set up the mappings to switch our build server on to the NewFeature branch (which should simply swap in the NewFeature source code without changing anything else as far as the build server is concerned) I get errors:

There is no working folder mapping for $/Main/Product.sln

i.e. when it is building from the NewFeature branch, something is still looking in the Main branch, even though there are no references anywhere in the source code to this branch. It appears to be caching some reference to Main?!

I have done a completely clean build (deleted the build folder from the server and run the build with /p:ForceGet=true to make sure the mapping is flushed through to the server, and there are no files on the server that might cache the workspace bindings), but this doesn’t help.

Any suggestions?

  • 1 1 Answer
  • 3 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-13T02:05:31+00:00Added an answer on May 13, 2026 at 2:05 am

    Verify that:

    • $(SolutionToBuild) uses a relative path when referencing Product.sln
    • the relative path between $/NewFeature/…/TFSBuild.proj and $/NewFeature/Product.sln is the same as it is in the Main branch.

    / EDIT /

    Note, however, it’s not important that $/Main and $/Branches/Feature live at the same level in the tree hierarchy. Nor should the local path on the build server matter.* All that matters is what’s underneath each branch. If the contents is internally consistent then all of your existing build scripts should work without modification.

    For concrete examples of how I like to tie everything together, see my past answers, e.g.:

    • Modular TeamBuilds
    • SDLC Mangement for TFS Build Scripts
    • Where to put my database project in TFS?
    • How do you share external dependencies between Visual Studio solutions?

    My way is not the only way, but I can attest that it works better than all the other variations I’ve encountered over the years 🙂

    *Frankly, trying to micromanage Team Build can become a lot more painful than the proposed restructuring to your MSBuild scripts. For reliability you have to place your tfsbuildservice.exe.config customizations under version control somewhere…if you own >1 build server (or might in the future) then you have to consider a change deployment strategy…you end up needing a meta-SCM process to manage your SCM process!

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

Sidebar

Related Questions

I have a project stored in TFS Source Control (2008) that is being worked
Background: We have a TFS server setup where me manage our source code and
I use the TFS 2008 build facilities. I have a large MSBuild project (TFSBuild.proj)
We have created a New Team Project in TFS 2008. We want to merge
We have a new ASP.NET project on VS 2008 environment, and a new TFS
We have installed TFS 2010 RC. By default it creates a project collection called
I have a TFS 2008 Build Agent that has been used to build .Net
We have a project with many developers. Some use Visual Studio 2008 Professional with
I have VS 2008 Team Suite, and use TFS. I have references in 2
In my project we had VisualStudio 2008 Development Edition as IDE. We have normal

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.