[Mono-dev] corlib version and #if symbol questions

Kornél Pál kornelpal at hotmail.com
Thu Aug 18 16:17:12 EDT 2005


Thanks for the information. The patch is now in SVN.

Kornél

----- Original Message -----
From: "Sebastien Pouliot" <sebastien.pouliot at gmail.com>
To: "Kornél Pál" <kornelpal at hotmail.com>
Cc: <mono-devel-list at lists.ximian.com>
Sent: Wednesday, August 17, 2005 5:06 PM
Subject: Re: [Mono-dev] corlib version and #if symbol questions


> On Wed, 2005-17-08 at 16:48 +0200, Kornél Pál wrote:
>> >From mcs/class/corlib/System.Security.Cryptography/CryptoConfig.cs:
>>
>> #if (NET_2_0)
>>  private const string xmlAssembly = ", System.Security,
>> Version=2.0.3600.0,
>> Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a";
>> #elif (NET_1_1)
>>  private const string xmlAssembly = ", System.Security,
>> Version=1.0.5000.0,
>> Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a";
>> #elif (NET_1_0)
>>  private const string xmlAssembly = ", System.Security,
>> Version=1.0.3300.0,
>> Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a";
>> #else
>>  private const string xmlAssembly = ", System.Security, Version=0.0.0.0,
>> Culture=neutral, PublicKeyToken=null";
>> #endif
>>
>> When is an assembly compiled without version and public key?
>
> (Almost) never. This has been useful for debugging under Windows (so
> that I could load Mono's System.Security.dll and not MS one).
>
> This is a very specific case and it doesn't need to be in SVN, so you
> can remove that hack without problems (as I can re-hack it on my side if
> I ever need to debug this again).
>
> Sebastien
>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>




More information about the Mono-devel-list mailing list