[Mono-list] Build once run on multiple platforms

A Rafael D Teixeira rafaelteixeirabr@hotmail.com
Wed, 05 Mar 2003 11:19:02 -0300

>From: "Graham Allwood" <Graham.Allwood@CODA.com>
>Subject: [Mono-list] Build once run on multiple platforms
>It not going to be possible to run a program compiled with the MS .NET
>implementation (using Windows) on MONO is it? I mean, when I compile with
>either CSC or MCS and add references to say System.Data (or whatever) then
>this will add a reference to a strong named type. So when I compile with
>MS.NET, the strong name of the MONO System.Data assembly is not going to

For now it's a moot point, as the mono runtime doesn't look at the strong 
name, only the base name.

In the future, it will check, but probably we will give a relaxing option 
for a selected list of assemblies.

Besides you can always use config files to specify at runtime what library 
to use, as is already needed when mixing 1.0 and 1.1 code and/or runtimes, 
in windows.

>So is the idea that when I compile under windows I use the MONO libraries 
>I want my exe to run on Unix because things like System.Data, 
>System.Windows.Forms will have the same strong name on both machines?

You can, but I think it won't be mandatory, as said above...

Successfull developments,

Rafael Teixeira
Brazilian Polymath
Mono, MonoQLE Hacker

Tired of spam? Get advanced junk mail protection with MSN 8.