[Gtk-sharp-list] location of assemblies
John Luke <email@example.com>
Thu, 19 Aug 2004 20:16:07 -0400
Since you know where it is, why not use Assembly.LoadFrom()?
On 19 Aug 2004 22:25:06 +1000, Bryan Buchanan <firstname.lastname@example.org> wrote:
> This is slightly off topic.
> I have this code:
> // check to see if a routine exists to validate
> Assembly ass = Assembly.LoadFile("validate.dll");
> Type t = ass.GetType("validate_method");
> This works fine if "validate.dll" is in the same directory you are
> running from. I don't know, however, how to tell the runtime system to
> look for this file in some other place.
> I've set MONO_PATH, to include the path to this file, but it does not
> help. I've seen a <probing> directive mentioned in some documentation,
> but do not know where to set it.
> Can anyone enlighten me.
> Gtk-sharp-list maillist - Gtkemail@example.com