Essentially need to read the dependencies programmatically without loading the assembly itself, as then you can't unload them
To view assembly manifest information, double-click the Manifest icon in the MSIL Disassembler window.
Any DLL built from a . NET project is an assembly, as is an executable. Assemblies not only contain the CLI code for running under the Common Language Runtime, they also contain full information about the classes and structure of the code in the assembly.
The Difference of EXE and DLL DLL stands for Dynamic Link Library and EXE is nothing but the executable. An EXE assembly actually runs in its own address space while a DLL can not run by itself.
An assembly manifest contains all the metadata needed to specify the assembly's version requirements and security identity, and all metadata needed to define the scope of the assembly and resolve references to resources and classes. The assembly manifest can be stored in either a PE file (an .exe or .
found this System.Reflection.Assembly.ReflectionOnlyLoadFrom(path) does the trick
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With