Click here to Skip to main content
Licence CPOL
First Posted 7 May 2008
Views 8,824
Downloads 45
Bookmarked 8 times

Discover Assembly References

By | 7 May 2008 | Article
Monitor assembly references of a software project

Introduction

This article shows the mechanism of reflection for loading assemblies that can be very useful to trace references of several modules involved in a software project.

Background

Number of involved assemblies in an IT project grows exponentially, especially with large and modular projects.

Typically, if the system has been planned well, single DLLs are referenced once in a system to avoid circular or repetitive references in different places of the system.

Sometimes, developers lose sight of these references with a specific version that is not influential for assembly loading, but in a fast paced development environment the specific version of an assembly can be important.

Points of Interest

There are some basic assemblies that are always included as references. For example, mscorlib.dll is always included. Admitting that a folder contains all application assemblies of a fixed system, we can discover all references which match with a fixed string filter. For example, if the team leader in an IT project establishes that all assemblies must have the name enterprise(*).dll, we could want to know all assembly references developed internally.

Using the Tool

The tool is very simple to use and it's open to future ideas and developments. The filter field can be valued with a string with which we want to match the discovered assembly's names.

History

  • 7th May, 2008: Version 1.0.0.0 - Provides the basic mechanism to reflect assemblies information

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

About the Author

ralf palm

Systems Engineer
Expert System
Italy Italy

Member



Sign Up to vote   Poor Excellent
Add a reason or comment to your vote: x
Votes of 3 or less require a comment

Comments and Discussions

 
You must Sign In to use this message board. (secure sign-in)
 
Search this forum  
 FAQ
    Noise  Layout  Per page   
  Refresh
QuestionHuh? PinmemberPIEBALDconsult4:46 7 May '08  
AnswerRe: Huh? Pinmemberralf palm4:55 7 May '08  
GeneralRe: Huh? PinmemberPIEBALDconsult13:05 7 May '08  
GeneralNo source code Pinmember leppie 3:49 7 May '08  
GeneralRe: No source code Pinmemberralf palm4:35 7 May '08  

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

Permalink | Advertise | Privacy | Mobile
Web01 | 2.5.120517.1 | Last Updated 7 May 2008
Article Copyright 2008 by ralf palm
Everything else Copyright © CodeProject, 1999-2012
Terms of Use
Layout: fixed | fluid