Click here to Skip to main content
Click here to Skip to main content
Go to top

Project \ Assembly dependencies viewer

, 11 Jan 2004
Rate this:
Please Sign up or sign in to vote.
This simple application gets any VS.NET project or assembly and displays all the assembly / project dependencies. All dependencies are shown in a tree view with images that indicate the assembly location (Bin, GAC or registered as COM+ component).

Sample Image - viewer.jpg

Introduction

This application is a part of the installation system that I use. My installation process uses an input XML file that is created by the application, to deploy and register the assemblies in the same locations as in the deploying machine. Using this method I reduce many errors. You can use this application to test your applications in a production environment. You can test and see if all of your application references match the files on your production server and to find out any existing problems.

The code is pretty straight forward. The only complicated part was to find out if a given assembly is registered as a COM+ component. To check it out, you need to get the COM+ component CLSID from COM+ using comadmin.dll, find in registry the CLSID InprocServer32 Key, and check if InprocServer32 Assembly string value matches the given assembly full name.

To navigate through the COM+, I use a wrapper assembly of comadmin.dll which I created using tlbimp.exe. The deploying code is a reference to the wrapper assembly of COM+ 1.5 comadmin.dll. If you are working with COM+ 1.0, you need to recreate the wrapper assembly using tlbimp.exe.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here

Share

About the Author

Natty Gur
Web Developer
Israel Israel
Read my blog

 


Natty Gur is the founder and CTO of “The enterprise architects group” an international enterprise architecture consulting group based in Vestal, NY. Natty has 13 years of experience in the IT field, 7 of them focused on running enterprise architecture in companies and governmental bodies. Natty has written many articles and is a well known speaker on EA topics. You can reach natty at: natty@theeagroup.net

Follow on   Twitter

Comments and Discussions

 
QuestionHow to enlist assemblies? Pinmemberzux8-Nov-04 1:44 
AnswerRe: How to enlist assemblies? PinmemberNatty Gur19-Nov-04 9:24 

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.

| Advertise | Privacy | Mobile
Web03 | 2.8.140916.1 | Last Updated 12 Jan 2004
Article Copyright 2004 by Natty Gur
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid