Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem getting assemblies list outside class dll
Message
From
07/04/2010 04:15:19
 
 
To
07/04/2010 00:40:41
Vladimir Zhuravlev
Institute of the Physics of Earth,Russia
Moscow Region, Russia
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
01458885
Message ID:
01459108
Views:
52
>Thanks Viv, I have read the topic from this link. I guess, this explain strange results , I have got
>I did not like the method of solution - to use some gautils.exe, it gives no clue, about internal content of this utility
>I try to dig more in this problem and if find solution, will tell here

There's nothing strange in the results - they are as documented.

Firstly, as before, the GetAssemblies() list will only contain assemblies that are currently *loaded* - i.e. in use by the current application.

Gregory's approach gets a list of assemblies that *may* be loaded by a specifc assembly if required and recursively and explicitly loads each one. Although the list will then contain all assemblies that *might* be used by that app if it only requires a couple of assemblies then that's all you will get.

Gregory also pointed you to another option to get details of all assemblies in the GAC.

The reflector program that you mention can't do more than the above - unless it resorts to searching storage for other assemblies that may be scattered around.

I think the question that needs answering is what you are trying to achieve?
Regards,
Viv
Previous
Reply
Map
View

Click here to load this message in the networking platform