Loop thru Assemblies

J

JezB

I have a library method that exists in a project assembly (eg. WebLib or
WinLib). Within this method I want to scan the other assemblies in the
solution generically for embedded resource files. I have a way of scanning
an assembly for embedded resource files, but as yet I have not discovered a
way to iterate through the assemblies in my whole solution at runtime. Could
anyone help ?
 
J

JezB

I'll answer myself as I just found it, for the record :-
foreach (Assembly a in AppDomain.CurrentDomain.GetAssemblies())
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top