Sidebar 7: About Assembly Dependencies
Background: .NET can report for any assembly which other .NET assemblies are directly referenced. Dynamic references can not be found and there is no way to retrieve a path - physically on the local machine or URL - to where a reference is located.
If some .NET assembly should be loaded explicitly with reduced security settings all referenced .NET assemblies should be loaded the same way. It's obvious that there is no way to find hidden references made by some code based on dynamic algorithms. For each static reference the Assembly class provides a method to get the name of the corresponding .NET assembly. But I found no way to let the .NET run-time resolve the name to a path or URL of this .NET assembly without loading it - with full trust if coming from the local system.
Back to List of Sidebars
Back to Projects Home Page