Loading an assembly as domain neutral, CLR Host

  • Thread starter Thread starter Abhishek
  • Start date Start date
A

Abhishek

I've made my own CLR Host and i specified to load all the assemblies as
domain-neutral in the CorBindToRuntimeEx API. When i create new domains
in the managed code and try to refer some assemblies it shows that all
the referred assemblies are loaded in all domains :(.
Any ideas on how can i get a confirmation that an assembly is loaded as
domain neutral.

Abhishek
 
check the performance counters (perfmon.exe), more specific the loaded
assemblies in .NET CLR Loading and specify the instance. Domain-neutral
assemblies will be loaded only once so the counter wouldn't increase.

Gabriel Lozano-Morán
 
Back
Top