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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T10:44:02+00:00 2026-06-08T10:44:02+00:00

Using TFS 2010 I need to build a solution that depends on a couple

  • 0

Using TFS 2010 I need to build a solution that depends on a couple of other solutions held in different team projects. I’m editing my build definition and I create a list of “Projects to Build’. When it comes to build the parent solution I get an error because it’s unable to reference assemblies created by the other solutions. So I go back to edit build definition and add /p:ReferencePath=”c:\builds\3\referencedproject\binaries\” to the “MSBuild Arguments” Build process parameters.

Problem is, I don’t want to hard code the c:\build\3. I guess there may be a $() property I can use in its place – can anyone please advise?

The other problem I have is that the ‘Main’ project and the two other projects that it references live at the same level in the source code. As far as I can tell, I have to set the source control folder to be the level above this – which happens to be the root. This means that TFS Build does a get of all the projects on the root – which includes dozens of projects that are not required for my build. It’s not a critical issue since it makes no attempt to compile these non-related projects but it does increase the time for the build cycle to complete. Is this only way to avoid this to “group” the projects that are required for my build into a different TFS source folder?

  • 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-06-08T10:44:05+00:00Added an answer on June 8, 2026 at 10:44 am

    I’ll start with problem 2 as this should be easiest to solve.

    You have 2 options both involve changing the workspace mapping of your Build Definition.

    You don’t have to map at the folder “above”, you can map individual folders so if your source looks like this.

    $/TP/SolutionA

    $/TP/Folder1/SolutionB

    $/TP/Folder1/SolutionC

    $/TP/Folder2/SolutionD

    and you only want to include SolutionA and SolutionC in your build, you could set the workspace up as follows.

    Workspace Mapping

    This will get just the code you need and preserve the relative paths between them.

    Another option is to use cloaking, you map the “Root” folder and then cloak any folders you want the build to ignore.

    enter image description here

    Both of these methods will restrict the amount of source being downloaded when the build runs, and also prevent “continuous” builds from starting when checkins occur in the folders that haven’t been mapped / Cloaked.


    Problem number 1.

    As Dylan suggests, probably the best thing to do is to use Binary References between solutions. Especially solutions in seperate team projects.

    Check out my answer to this question for a full description.

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

Sidebar

Related Questions

I need to get VS 2010 projects that are using Visual Studio Tests building
I'm customizing the default workflow of build process template using TFS 2010 Team Build.
We're using TFS 2010 Team Build which automatically runs our unit tests during the
We are moving our projects to TFS 2010 using the SfTS v3 (Scrum for
I'm using TFS 2008 and I would like to build some solutions in debug
We are using TFS build and we have a couple of custom steps within
I am running a build using TFS 2008 to build a Visual Studio 2010
We are currently using TFS 2010 and have a Team site of SharePoint 2007.
I am using TFS 2008 and team build to compile some Java code using
I'm using TFS 2010 for source control and for continuous integration (among other things).

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.