Load satellite assemblies from memory

316 Views Asked by At

Must satellite assemblies be present on disk in appropriately named sub-folders. Can they be loaded from memory, for example, via the AppDomain.AssemblyResolve event?

I know assemblies can be loaded from memory, but will .Net use the AssemblyResolve event when looking for satellite assemblies.

1

There are 1 best solutions below

1
Vikas Gupta On

In addition to AppDomain.AssemblyResolve event, you are probably looking for a bunch of overloads for loading assemblies.. like so

http://msdn.microsoft.com/en-us/library/h538bck7(v=vs.110).aspx

public static Assembly Load(byte[] rawAssembly)