B
Bern McCarty
Is it at all possible to leverage mixed-mode assemblies from AppDomains
other than the default AppDomain? Is there any means at all of doing this?
Mixed-mode is incredibly convenient, but if I cannot load/unload/reload
extensions into my large and slow-to-load application during development
without restarting the process then the disadvantages may outweigh the
advantages.
I've got a mixed-mode program in which I create a new AppDomain and then use
CreateInstance() on a type from another assembly. That other assembly is
created by the C# compiler. Though written in C# the type being instanced
is itself derived from a mixed-mode class in yet another 3rd assembly.
I get a System.NullReferenceException when the mixed-mode code runs in the
non-default app-domain.
other than the default AppDomain? Is there any means at all of doing this?
Mixed-mode is incredibly convenient, but if I cannot load/unload/reload
extensions into my large and slow-to-load application during development
without restarting the process then the disadvantages may outweigh the
advantages.
I've got a mixed-mode program in which I create a new AppDomain and then use
CreateInstance() on a type from another assembly. That other assembly is
created by the C# compiler. Though written in C# the type being instanced
is itself derived from a mixed-mode class in yet another 3rd assembly.
I get a System.NullReferenceException when the mixed-mode code runs in the
non-default app-domain.