I would like to access type information from a referenced (it is a project reference) assembly. The hard way would be to resolve the assembly's file path using VS solution, and load the assembly from file, but I'm sure that since the referenced assembly is already resolved/loaded in the executing assembly, there must be a much easier way, but that way really escapes me. How can I do this?
Example, in my MainAssembly
, I reference LibAssembly
. Now, in code in MainAssembly
, I need to iterate members of types that are defined in LibAssembly
.