[Mono-devel-list] Strong name validation failed for assembly 'corlib'.

Aleksandar Dezelin dezelin32 at fastmail.fm
Tue Nov 30 04:17:30 EST 2004


Sébastien Pouliot wrote:

>Hello Aleksander,
>
>  
>
>>I'm compiling Mono corlib.dll and System.dll using csc to try debug
>>something, but when I run  a simple test application  that references
>>nothing but System.dll and corlib.dll, test app. throw an exception that
>>says:
>>
>>Strong name validation failed for assembly 'corlib'.
>>
>>How can I add strong name to corelib.dll so It doesn't throw this
>>exception?
>>    
>>
>
>It depends on which runtime you'll be executing it (because both assemblies
>are signed with the ECMA "key").
>
>If you're using the Makefile (changing the compiler variable) then
>assemblies should be signed correctly to work with the Mono runtime. If
>you're not using the Makefile you will need to run the Mono's version of the
>"sn" tool with the "mono.snk" key on both assembly.
>
>If you plan on executing them on the MS runtime you'll need to turn off
>strongname verification for the ECMA public key token (not very good
>security-wise).
>
>
>Sebastien Pouliot
>home: spouliot at videotron.ca
>blog: http://pages.infinit.net/ctech/poupou.html
>
>
>  
>

How can I turno off strongname verification for the ECMA public key 
token? I need these two dlls just to debug some (I think) 
incompatibility issues between Mono and .NET regarding TCP/IP remoting 
stack.

Regards,
Aleksandar Dezelin

-- 
Linux is like wigwam - no windows, no gates and apache inside. ... 




More information about the Mono-devel-list mailing list