зеркало из https://github.com/mono/mail-archives.git
87 строки
3.2 KiB
HTML
87 строки
3.2 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
|
|
<HTML>
|
|
<HEAD>
|
|
<TITLE> [Gtk-sharp-list] location of assemblies
|
|
</TITLE>
|
|
<LINK REL="Index" HREF="index.html" >
|
|
<LINK REL="made" HREF="mailto:John%20Luke%20%3Cjohn.luke%40gmail.com%3E">
|
|
<META NAME="robots" CONTENT="index,nofollow">
|
|
|
|
<LINK REL="Previous" HREF="004727.html">
|
|
<LINK REL="Next" HREF="004728.html">
|
|
</HEAD>
|
|
<BODY BGCOLOR="#ffffff">
|
|
<H1>[Gtk-sharp-list] location of assemblies
|
|
</H1>
|
|
<B>John Luke
|
|
</B>
|
|
<A HREF="mailto:John%20Luke%20%3Cjohn.luke%40gmail.com%3E"
|
|
TITLE="[Gtk-sharp-list] location of assemblies">John Luke <john.luke@gmail.com>
|
|
</A><BR>
|
|
<I>Thu, 19 Aug 2004 20:16:07 -0400</I>
|
|
<P><UL>
|
|
<LI> Previous message: <A HREF="004727.html">[Gtk-sharp-list] location of assemblies
|
|
</A></li>
|
|
<LI> Next message: <A HREF="004728.html">[Gtk-sharp-list] compile problem
|
|
</A></li>
|
|
<LI> <B>Messages sorted by:</B>
|
|
<a href="date.html#4737">[ date ]</a>
|
|
<a href="thread.html#4737">[ thread ]</a>
|
|
<a href="subject.html#4737">[ subject ]</a>
|
|
<a href="author.html#4737">[ author ]</a>
|
|
</LI>
|
|
</UL>
|
|
<HR>
|
|
<!--beginarticle-->
|
|
<PRE>Hello,
|
|
Since you know where it is, why not use Assembly.LoadFrom()?
|
|
|
|
On 19 Aug 2004 22:25:06 +1000, Bryan Buchanan <<A HREF="mailto:adslh3nu@tpg.com.au">adslh3nu@tpg.com.au</A>> wrote:
|
|
><i> Hi,
|
|
</I>><i>
|
|
</I>><i> This is slightly off topic.
|
|
</I>><i>
|
|
</I>><i> I have this code:
|
|
</I>><i>
|
|
</I>><i> // check to see if a routine exists to validate
|
|
</I>><i> Assembly ass = Assembly.LoadFile("validate.dll");
|
|
</I>><i> Type t = ass.GetType("validate_method");
|
|
</I>><i> .....
|
|
</I>><i>
|
|
</I>><i> This works fine if "validate.dll" is in the same directory you are
|
|
</I>><i> running from. I don't know, however, how to tell the runtime system to
|
|
</I>><i> look for this file in some other place.
|
|
</I>><i>
|
|
</I>><i> I've set MONO_PATH, to include the path to this file, but it does not
|
|
</I>><i> help. I've seen a <probing> directive mentioned in some documentation,
|
|
</I>><i> but do not know where to set it.
|
|
</I>><i>
|
|
</I>><i> Can anyone enlighten me.
|
|
</I>><i>
|
|
</I>><i> Thanks,
|
|
</I>><i>
|
|
</I>><i> Bryan
|
|
</I>><i>
|
|
</I>><i> _______________________________________________
|
|
</I>><i> Gtk-sharp-list maillist - <A HREF="mailto:Gtk-sharp-list@lists.ximian.com">Gtk-sharp-list@lists.ximian.com</A>
|
|
</I>><i> <A HREF="http://lists.ximian.com/mailman/listinfo/gtk-sharp-list">http://lists.ximian.com/mailman/listinfo/gtk-sharp-list</A>
|
|
</I>><i>
|
|
</I>
|
|
</PRE>
|
|
<!--endarticle-->
|
|
<HR>
|
|
<P><UL>
|
|
<!--threads-->
|
|
<LI> Previous message: <A HREF="004727.html">[Gtk-sharp-list] location of assemblies
|
|
</A></li>
|
|
<LI> Next message: <A HREF="004728.html">[Gtk-sharp-list] compile problem
|
|
</A></li>
|
|
<LI> <B>Messages sorted by:</B>
|
|
<a href="date.html#4737">[ date ]</a>
|
|
<a href="thread.html#4737">[ thread ]</a>
|
|
<a href="subject.html#4737">[ subject ]</a>
|
|
<a href="author.html#4737">[ author ]</a>
|
|
</LI>
|
|
</UL>
|
|
</body></html>
|