Reputation: 11446
Assembly assembly = Assembly.Load("MyAssembly");
Will the above also load all the references/dependencies "MyAssembly" needs ?
Upvotes: 5
Views: 733
Reputation: 185643
No; references and types are loaded on-demand as they're required. The specific rules used for locating an assembly can be found here.
Upvotes: 5