load dynamically dll from file path at runtime in silverlight

49 Views Asked by At

I am trying to figure out how you could go about . how to load dynamically dll from file path at runtime in Silverlight?

1

There are 1 best solutions below

0
Ivan On BEST ANSWER

Just to load the dll you can use the Load() of AssemblyPart

 AssemblyPart assemblyPart = new AssemblyPart();
 Assembly asm = assemblyPart.Load(dllStream);

and then create the instance with

asm.CreateInstance("...")