[Mono-dev] What directories/files needed to distribute a mono runtime from a build?

Jonathan Pobst monkey at jpobst.com
Tue Dec 28 12:25:20 EST 2010


Forgot one detail.

* Other than mscorlib.dll.

There is only one copy of mscorlib.dll, and it must be in:
/lib/mono/2.0
or
/lib/mono/4.0

Depending on which runtime you intend to use.

Jonathan


On 12/28/2010 11:04 AM, Jonathan Pobst wrote:
> On 12/28/2010 10:53 AM, CodeSlinger wrote:
>> In
>> Windows the assemblies are under a version dir and in mono the assembly
>> versions are under a common dir by assembly type though maybe there is a
>> good reason for that which I don't know.
>
> There are two copies of each class library assembly, one copy for
> compiling and one copy for running.  This is true for both Mono and .Net.
>
> Compiling copies:
> Mono - lib/mono/[2.0 3.5 4.0]/
> .Net - \Program Files\Reference Assemblies\Microsoft\Framework\...
>
> Running copies:
> Mono - lib/mono/gac
> .Net - \Windows\assembly
>
> On Mono on Linux, the compiling copies should be a symlink to the
> running copy so they don't take up twice as much space, like they do on
> Windows.
>
> If your application is not going to be compiling any code [CodeDom], you
> do not need the compiling copies.
>
> Jonathan
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
>



More information about the Mono-devel-list mailing list