I have to write a program that gets a .Net exe assembly and finds all
its assembly references (i.e. DLL's).
For each such assembly reference it should find the location on disk
(either app directory, GAC, private path, etc.) from which CLR will
ooad it in runtime according to the CLR rules.
I cannot use .Net reflection, because I don't know in what order to
load the DLL's and what prerequisites are necessary (and also to save
time).
I tried to use C++ IMetaDataAssemblyImport and IMetaDataImport
interfaces.
They give me the name of the referenced assemblies but not their
locations.
Does somebody know how to do it?
TIA
Sruli