mail-archives/mono-list/2005-February/026050.html

81 строка
2.6 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mono-list] compilation time/run time
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:jonpryor%40vt.edu">
<META NAME="robots" CONTENT="index,nofollow">
<LINK REL="Previous" HREF="025980.html">
<LINK REL="Next" HREF="025981.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mono-list] compilation time/run time
</H1>
<B>Jonathan Pryor
</B>
<A HREF="mailto:jonpryor%40vt.edu"
TITLE="[Mono-list] compilation time/run time">jonpryor@vt.edu
</A><BR>
<I>Sat, 26 Feb 2005 17:01:04 -0500</I>
<P><UL>
<LI> Previous message: <A HREF="025980.html">[Mono-list] compilation time/run time
</A></li>
<LI> Next message: <A HREF="025981.html">[Mono-list] ListView.cs bugs
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#26050">[ date ]</a>
<a href="thread.html#26050">[ thread ]</a>
<a href="subject.html#26050">[ subject ]</a>
<a href="author.html#26050">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>Below...
On Wed, 2005-02-23 at 20:24 -0800, Julien Sobrier wrote:
&gt;<i> I try to understand was is statically compiled, and what is loaded at
</I>&gt;<i> tun time.
</I>&gt;<i>
</I>&gt;<i> I have 3 binary file: Program.exe, Plugin.dll, and Share.dll
</I>&gt;<i> Share.dll contains objects used by both Plugin.dll and Program.exe.
</I>&gt;<i> I compile these 2 program like this:
</I>&gt;<i> mcs Program.cs -r:Share.dll
</I>&gt;<i> mcs -t:library Plugin.cs -r:Share.dll
</I>&gt;<i>
</I>&gt;<i> Do the 2 binary have an embedded version of Share.dll (compilation
</I>&gt;<i> time), or do they load Share.dll at run time?
</I>
They load Share.dll at run time.
&gt;<i> Then, if I modify Share.dll (add methods and properties, modify the
</I>&gt;<i> implementation of the methods, etc.) without removing any public method
</I>&gt;<i> or property, can I just replace Share.dll by the next version without
</I>&gt;<i> compiling both programs again?
</I>
Yes.
- Jon
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI> Previous message: <A HREF="025980.html">[Mono-list] compilation time/run time
</A></li>
<LI> Next message: <A HREF="025981.html">[Mono-list] ListView.cs bugs
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#26050">[ date ]</a>
<a href="thread.html#26050">[ thread ]</a>
<a href="subject.html#26050">[ subject ]</a>
<a href="author.html#26050">[ author ]</a>
</LI>
</UL>
</body></html>