What determines when and if an assembly gets loaded into the AppDomain.
I guess I am trying to understand if:
I don't know the details but I know that there is event thorwn when an assemblies can't be loaded. So I guess they are loaded at runtime and you could add routines to it.
I think this will help you a bit about Assembly Resolve http://msdn.microsoft.com/en-us/library/system.appdomain.assemblyresolve.aspx
And this about Assembly Load Events http://msdn.microsoft.com/en-us/library/system.appdomain.assemblyload.aspx
Main
(note that usually goal is opposite - to delay loading of as many assemblies as possible to speed up loading of an app). Note: assemblies don't "depend" on each other directly, just classes/methods in each depend on each other.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.