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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T00:48:27+00:00 2026-06-10T00:48:27+00:00

I have two solutions within a single build. Our current solutions to build look

  • 0

I have two solutions within a single build. Our current solutions to build look like this:

<SolutionToBuild Include="$(BuildProjectFolderPath)/../../Main/Services/Solution1.sln">
<Targets></Targets>
<Properties></Properties>
</SolutionToBuild>

<SolutionToBuild Include="$(BuildProjectFolderPath)/../../Main/Web/Solution2.sln">
<Targets></Targets>
<Properties></Properties>
</SolutionToBuild>

Having them this way, the output will be dropped under the \$(DropLocation)\$(BuildNumber)\Releases folder. My objective is that the output files for each solution be dropped in different drop folders. Example. Solution1.sln drop location is to be \$(DropLocation)\$(BuildNumber)\Releases\Services.

How can I specify the solution to build properties to achieve this result? I have tried using the following property without success as several output files are not copied to the specified output drop location:

<SolutionToBuild Include="$(BuildProjectFolderPath)/../../Main/Services/Solution1.sln">
<Targets></Targets>
<Properties>OutDir=$(DropLocation)\$(BuildNumber)\Services\</Properties>
</SolutionToBuild>

EDIT: We are currently using TFS2010 but these are our old TFS2008 builds that use the upgrade template

  • 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-10T00:48:29+00:00Added an answer on June 10, 2026 at 12:48 am

    We use the OutDir property. Maybe some of your files aren’t marked as “Copy Local”?

    <SolutionToBuild Include="$(BuildProjectFolderPath)\myFooSolution.sln"> 
    <Properties>OutDir=$(OutDir)\FooFolder\</Properties> 
    </SolutionToBuild>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have three solutions which build two clients and a server, and share many
I have a list like this: <div> <ul> <li>one</li> <li>two</li> <li>three</li> <li>four</li> </ul> </div>
I have two solutions, one is a class library and the other is a
I have two VS2008 solutions. Both contain a web application. For both web apps
Let's say we have MethodA and MethodB where whole methods' bodies are within single
current situation: I have a service with several typical service methods like create(), remove(),
I have two projects within one solution. Both projects contain some files that are
Suppose my solution have two project: myApp: silverlight application project: the default application App
Need to add two same name .csproj class libraries in my solution.Have two project
I think I have a big problem. I have a two projects solution. First

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.