code_junkie

Loading assemblies and its dependencies

Nov 10th, 2011
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. AppDomain currentDomain = AppDomain.CurrentDomain;
  2. currentDomain.AssemblyResolve += new ResolveEventHandler(MyResolveEventHandler);
  3.  
  4. <configuration>
  5. <runtime>
  6. <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
  7. <probing privatePath="bin;bin2subbin;bin3"/>
  8. </assemblyBinding>
  9. </runtime>
  10. </configuration>
Add Comment
Please, Sign In to add comment