[Mono-dev] AppDomain.AppendPrivatePath - change assembly search pathat runtime?
gert.driesen at telenet.be
Wed Feb 15 15:37:03 EST 2006
> -----Original Message-----
> From: mono-devel-list-bounces at lists.ximian.com
> [mailto:mono-devel-list-bounces at lists.ximian.com] On Behalf
> Of Jonathan Resnick
> Sent: woensdag 15 februari 2006 21:12
> To: 'mono-devel mailing list'
> Subject: [Mono-dev] AppDomain.AppendPrivatePath - change
> assembly search pathat runtime?
> 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:
> <assemblyBinding ...>
> <probing privatePath="plugins" />
> This works on .NET but does not seem to have any effect in Mono.
There's a patch for this issue attached to this bug report, but it still
needs to be reviewed:
> I also tried using AppDomain.AppendPrivatePath(...), but that
> doesn't seem to work in Mono either.
Better file a bug report containing a small repro for that issue.
> Any ideas would be much appreciated.
You should be able to construct a new AppDomain with the desired search
More information about the Mono-devel-list