[Mono-dev] AppDomain.AppendPrivatePath - change assembly search path at runtime?

Jonathan Resnick jresnick at gmail.com
Wed Feb 15 15:11:55 EST 2006


Can anyone suggest a means of altering the assembly search path at runtime?
I need the ability to load a set of "plugin" assemblies at runtime from a
non-default location.  My first approach was to add the following to the
application's config file:
 
<runtime>
    <assemblyBinding ...>
        <probing privatePath="plugins" />
    </assemblyBinding>
</runtime>
 
This works on .NET but does not seem to have any effect in Mono.
 
I also tried using AppDomain.AppendPrivatePath(...), but that doesn't seem
to work in Mono either.
 
Any ideas would be much appreciated.
Thanks in advance,
 
Jonathan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20060215/6a2185b6/attachment.html 


More information about the Mono-devel-list mailing list