[Fwd: Re: [Mono-list] Bug in Assembly.Load()?]

J. Perkins jason@379.com
27 Nov 2002 09:00:02 -0500


Oops, I sent this directly to Gonzalo by mistake...

-----Forwarded Message-----

From: J. Perkins <jason@379.com>
To: Gonzalo Paniagua Javier <gonzalo@ximian.com>
Subject: Re: [Mono-list] Bug in Assembly.Load()?
Date: 27 Nov 2002 08:58:43 -0500

On Tue, 2002-11-26 at 12:07, Gonzalo Paniagua Javier wrote:
> You can use Assembly.Load (or LoadWithPartialName) if the Plugin.dll is
> located in MONO_PATH or ${prefix}/lib. If it's in the current directory,
> use LoadFrom.

Just to clarify: this is different than the behavior with Windows/.NET,
where Assembly.Load() will also check the directory containing the app
executable (*not* the current directory). I wanted to know if this
difference is intentional, or if I should look into adding this
functionality to mono. Perhaps there is a good reason not to do this on
non-Windows platforms?

Jason
379