[Gtk-sharp-list] location of assemblies

Bryan Buchanan adslh3nu@tpg.com.au
19 Aug 2004 22:25:06 +1000


Hi,

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.

Thanks,

Bryan