[Mono-list] mscorlib

BERTRAND Joël jkb at systella.fr
Tue Dec 8 11:01:58 EST 2009


	Hello,

	I have some troubles with mscorlib. Simias requires mscorlib 1.0.5000, 
thus, I try to install mscorlib in GAC.

Root gershwin:[/usr/local/lib/mono/1.0] > monodis ./mscorlib.dll | head
.assembly 'mscorlib'
{
   .custom instance void class 
System.Resources.SatelliteContractVersionAttribute::'.ctor'(string) = 
(01 00 0A 31 2E 30 2E 35 30 30 30 2E 30 00 00 ) // ...1.0.5000.0..

   .custom instance void class 
System.Resources.NeutralResourcesLanguageAttribute::'.ctor'(string) = 
(01 00 05 65 6E 2D 55 53 00 00 ) // ...en-US..
...
Root gershwin:[/usr/local/lib/mono/1.0] > gacutil -i ./mscorlib.dll 
-root /usr/local/lib
Installed ./mscorlib.dll into the gac (/usr/local/lib/mono/gac)
Root gershwin:[/usr/local/lib/mono/1.0] > gacutil -l mscorlib -root 
/usr/local/lib
The following assemblies are installed into the GAC:
mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Number of items = 1
Root gershwin:[/usr/local/lib/mono/1.0] >

	I don't understand why gacutil returns Version=2.0.0.0 when I try to 
add 1.0.5000. Any idea ?

	Mono 2.4 and 2.6 give the same result.

	Regards,

	JKB


More information about the Mono-list mailing list