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

Jonathan Pobst monkey at jpobst.com
Tue Dec 28 12:04:11 EST 2010


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


More information about the Mono-devel-list mailing list