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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T09:41:51+00:00 2026-05-24T09:41:51+00:00

In an MSBuild script, I have the following: <Target Name=CompileCode> <MSBuild Projects=$(SolutionPath) Targets=Build Properties=…>

  • 0

In an MSBuild script, I have the following:

<Target Name="CompileCode">
    <MSBuild Projects="$(SolutionPath)" Targets="Build" Properties="...">
        <Output TaskParameter="TargetOutputs" ItemName="Binaries" />
    </MSBuild>
</Target>

The output of this target will be a collection Binaries which contains all the assemblies from my project. I’d like to include all assemblies, including external libraries that I’ve referenced (such as NUnit or Castle.Core). For that, I Imagine there is another value I should set for the TaskParameter – but which one?

I’d like to know of all the available options here, not just the ones that applies to my specific case – there are other things in this build script that might be eaiser (or even no longer impossible) if I know all my options…

So, what can I put in the TaskParameter property?

  • 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-24T09:41:52+00:00Added an answer on May 24, 2026 at 9:41 am

    When using the <Output /> targets output, valid values for the TaskParameter property would be any readable parameter of the <MSBuild /> task.

    The solution for your problem at hand will be to ensure that the projects in your solution specify to copy all referenced assemblies, i.e. the property CopyLocal is set to true for every referenced assembly you want to receive in Binaries (via TargetOutputs).

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

Sidebar

Related Questions

I have the following task in my MSBuild script: <Target Name=ZipStates> <Message Text=CREATING ZIP
I have the following MSBuild target working. <Target Name=MyTarget> <ItemGroup> <ExcludeList Include=$(ProjectPath)\**\.svn\**/> <ExcludeList Include=$(ProjectPath)\**\obj\**/>
I have a project with this in its MSBuild script: <Target Name=AfterBuild> <GenerateBootstrapper ApplicationFile=MyApp.msi
I have the following build script, which I run with MSBuild: <?xml version=1.0 encoding=utf-8?>
I have a simple MSBuild Script that looks like this. ... <Target Name=CompileSolution> <Exec
I have the following task in my MSBuild script to deploy to a remote
I have an msbuild script that runs on Team Foundation build. One of the
I have an MSBuild script that uses NUnit to run tests in two assemblies.
I'm trying to create a MSBuild script for running in TeamCity. I have a
There is a MSBuild script, that includes number if Delphi and C# projects, unit

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.