V
V&G
Hello all,
I'm trying to load in run-time some assembly with its referenced
assemblies.
If i calling to Assembly.LoadFrom() function all works clear.
The problems start when I use buffering.
If I read assembly's file to Byte[] array and then call to
Assembly.Load() function then each time Load() function called new
instance of assembly has been created in AppDomain (I can see this by
AppDomain.CurrentDomain.GetAssemblies())
I'm speaking about the SAME, SIGNED assembly, previously buffered to
Byte[].
Does anybody have some ideas about why CLR do it?
Thanks for all,
I'm trying to load in run-time some assembly with its referenced
assemblies.
If i calling to Assembly.LoadFrom() function all works clear.
The problems start when I use buffering.
If I read assembly's file to Byte[] array and then call to
Assembly.Load() function then each time Load() function called new
instance of assembly has been created in AppDomain (I can see this by
AppDomain.CurrentDomain.GetAssemblies())
I'm speaking about the SAME, SIGNED assembly, previously buffered to
Byte[].
Does anybody have some ideas about why CLR do it?
Thanks for all,