[Mono-list] compilation time/run time
Sat, 26 Feb 2005 17:01:04 -0500
On Wed, 2005-02-23 at 20:24 -0800, Julien Sobrier wrote:
> I try to understand was is statically compiled, and what is loaded at
> tun time.
> I have 3 binary file: Program.exe, Plugin.dll, and Share.dll
> Share.dll contains objects used by both Plugin.dll and Program.exe.
> I compile these 2 program like this:
> mcs Program.cs -r:Share.dll
> mcs -t:library Plugin.cs -r:Share.dll
> Do the 2 binary have an embedded version of Share.dll (compilation
> time), or do they load Share.dll at run time?
They load Share.dll at run time.
> Then, if I modify Share.dll (add methods and properties, modify the
> implementation of the methods, etc.) without removing any public method
> or property, can I just replace Share.dll by the next version without
> compiling both programs again?