Re: [Mono-devel-list] Assembly versioning

Miguel de Icaza <[email protected]>
Newsgroups gmane.comp.gnu.dotgnu.developer,gmane.comp.gnome.mono.devel
Message-ID <[email protected]>
Hello,

> 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

Miguel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.