[Gtk-sharp-list] location of assemblies

John Luke John Luke <john.luke@gmail.com>
Thu, 19 Aug 2004 20:16:07 -0400


Hello,
Since you know where it is, why not use Assembly.LoadFrom()?

On 19 Aug 2004 22:25:06 +1000, Bryan Buchanan <adslh3nu@tpg.com.au> wrote:
> 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
> 
> _______________________________________________
> Gtk-sharp-list maillist  -  Gtk-sharp-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/gtk-sharp-list
>