[Mono-devel-list] 'Public key token' for System.Drawing.dll assembly different on MS.NET and Mono...

Andrew Clunis orospakr at programmer.net
Thu Jun 12 17:43:38 EDT 2003


Hello.

I'm in the process of developing a GPL'd managed RPG game written in C# on both Mono and .NET.

I've tried to run binaries built with Mono on .NET, and I've run into this peculiar problem:  In the assembly manifest, the mcs built binaries seem to assume that all the System namespace assemblies all have the same public key token, namely B7 7A 5C 56 19 34 E0 89.  With the .NET built binaries, this is indeed true, EXCEPT for the System.Drawing.dll assembly, which has the token B0 3F 5F 7F 11 D5 0A 3A.

So, binaries built on Mono that use that assembly die on .NET with an exception stating it can't find the System.Drawing.dll assembly.  :(

On Mono:

.assembly extern mscorlib

{

  .publickeytoken = (B7 7A 5C 56 19 34 E0 89 )                         // .z\V.4..

  .ver 1:0:3300:0

}
.assembly extern System.Drawing

{

  .publickeytoken = (B7 7A 5C 56 19 34 E0 89 )                         // .z\V.4..

  .ver 1:0:3300:0

}

On .NET:

.assembly extern mscorlib

{

  .publickeytoken = (B7 7A 5C 56 19 34 E0 89 )                         // .z\V.4..

  .ver 1:0:3300:0

}


.assembly extern System.Drawing

{

  .publickeytoken = (B0 3F 5F 7F 11 D5 0A 3A )                         // .?_....:

  .ver 1:0:3300:0

}


The Mono version I was using was the Mono 0.24 release on RH9 and the .NET version was 1.0.3705 on WinXP.

Is this a bug in mcs or am I doing something wrong?

Thanks,
orospakr (Andrew C.)
orospakr at programmer.net

-- 
__________________________________________________________
Sign-up for your own FREE Personalized E-mail at Mail.com
http://www.mail.com/?sr=signup




More information about the Mono-devel-list mailing list