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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T06:39:39+00:00 2026-05-13T06:39:39+00:00

I work on a parallel build tool which builds (among lots of other things)

  • 0

I work on a parallel build tool which builds (among lots of other things) windows programs of various types. One part of our tool which makes life alot easier for our users is the automatic dependency scanning of EXE and DLL files. This means that if a user says they want to run “bob.exe” for example, they don’t have to worry about dependency problems when “bob.exe” get’s distributed to other nodes in the build network. This is because we scan “bob.exe” work out what DLLs it needs and send them along with it.

On the whole this works well except when an EXE programatically loads a DLL. Then the dependency has to be hard coded into the users make file. One problem we’ve started to have recently is what to do about C# DLLs/EXEs. These seem to contain DLL references which are not part of the PE format. I presume the references are inside some kind of C# container and that the C# runtime just programmatically loads them when the C# runtime kicks into action.

Can anyone tell me what the best approach would be to scanning out these references at a binary level? My build tool is multiplatform and my PE scanner is currently written in Java for this reason. Therefore I can’t rely on any of the .NET libraries. My PE scanner can already parse out all the sections in the PE file and I’m used to parsing out the section which contains side-by-side assembly information for C++ applications. I just need some pointers for what to do in the case of C# apps…

  • 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-13T06:39:39+00:00Added an answer on May 13, 2026 at 6:39 am

    The format of .NET assemblies is defined by standard ECMA-335 “Common Language Infrastructure (CLI)”, specifically “Partition II: Metadata Definition and Semantics”, which is freely available for download. You can use that to write your own Java parser for them that would extract the references.

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

Sidebar

Related Questions

I am creating one Testing Tool which is test the performance of the Web-Services.
I've created a feature branch to work in parallel with the trunk. In the
I work with new Parallel.For that creates multiple threads to perform the same operation.
Is it possible to make some work in parallel with entity framework for following
I got a C++ program (source) that is said to work in parallel. However,
I am developing and maintaining a .NET 3.5 tool at work, and wondering whether
I work in an environment with large scale multi-parallel branching. Looking at GIT I
My question centers on some Parallel.ForEach code that used to work without fail, and
Preliminary story There is this program which uses the Parallel Port to synchronize with
I'm running heavvy background work with Parallel.Invoke, after all processing has completed I return

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.