+ 1

When are assemblies loaded into memory?

At what point in the program lifecycle are assemblies loaded into memory?

10th May 2019, 10:16 AM
Ruslan Razuvailo
Ruslan Razuvailo - avatar
1 Réponse
+ 3
Quote from this link. https://weblog.west-wind.com/posts/2012/Nov/03/Back-to-Basics-When-does-a-NET-Assembly-Dependency-get-loaded In a nutshell, referenced assemblies are not immediately loaded - they are loaded on the fly as needed. So regardless of whether you have an assembly reference in a top level project, or a dependent assembly assemblies typically load on an as needed basis, unless explicitly loaded by user code. The same is true of dependent assemblies.
10th May 2019, 7:36 PM
sneeze
sneeze - avatar