[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[DotGNU]Re: [Mono-devel-list] Assembly versioning

From: Miguel de Icaza
Subject: [DotGNU]Re: [Mono-devel-list] Assembly versioning
Date: Sun, 16 May 2004 12:37:26 -0400


> The Mono runtime appears to require an exact match between compile-time and 
> run-time version numbers, at least as far as major and minor version -- I'm 
> not sure about the revision and build number. For example, if I compile 
> 'version.cs' and reference version 1:2:3400:0 of System.Xml, mono will reject 
> the executable 'version.exe' if it finds version 1.0.5500 of System.Xml at 
> runtime.
> This is not consistent with .NET. .NET will run applications where the 
> version 
> numbers differ, at least in the minor version number. (I am not sure about 
> the major version numbers.)

This is a side effect of the GAC.  You need your 1.2.3400 System.Xml
assembly installed into the GAC for mono to pick it up.

We should research why .NET loads assemblies that it has no support for,
I find that intriguing. 

.NET 1.0 has assemblies with versions 1.0.3300.0
.NET 1.1 has assemblies with versions 1.0.5000.0
.NET 2.0 (preview) uses 2.0.3600


reply via email to

[Prev in Thread] Current Thread [Next in Thread]