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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T03:05:45+00:00 2026-05-28T03:05:45+00:00

When one builds a .Net project, the output is copied into an output folder

  • 0

When one builds a .Net project, the output is copied into an output folder (e.g.: the bin folder); Not only the binaries issued from the project’s source code are copied, but also all the dependencies (file references) marked with the option CopyLocal=True.

For the purpose of a custom Build task (i.e.: when compiling on Team Build) I would like to know how get the list of binaries issued from a build without those dependencies (I may not – and don’t want anyway – to set CopyLocal=False).

My issue is that I didn’t find a clean way to determined this output. The closest solution I have is to loop on the project files, read the AssemblyName and check if there are pdb, xml, resx files foreseen. But still, I am sometimes missing resource files (?) and maybe other outputs as I don’t know all the possible items.

So my question is: do you know any methods/tricks/algorithms to get the list of binaries issued by a Build; i.e. assemblies, satellite assemblies (+ path of their subfolders), pbd, xml (i.e.: documentation) but without the dependencies ?

  • 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-28T03:05:46+00:00Added an answer on May 28, 2026 at 3:05 am

    I have a (maybe a really stupid) idea…

    What about using the FileListAbsolute.txt generated in the “obj” folder during the build (on Team Build)? It precisely contains the output (dll, resx, xml, …) of the build, without the dependencies. I can easily retreive it using Build Environment variables (path, etc…) and loop on it to get the names of the files dropped from the “obj” folder into the “bin” folder.

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

Sidebar

Related Questions

I have a project which builds correctly from the command line. On one of
I have a website project that I want to build using CruiseControl.net. On one
I need a cache that responds to memory pressure like the one build-into ASP.NET.
We have a CruiseControl.NET Server 1.5.0.4401 running. One project uses an external compiler, which
In my current .Net 4.0 solution, I have one project containing a lot of
In one of my projects I need to build an ASP.NET page and some
My friend build a web service in java I build one in .net I
I've written a PowerShell script to build several .net solutions one after the other.
In one of my builds for an iPhone app, I had inadvertently created a
I'm using the command line compiler for builds. One problem I see is that

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.