Hi Igor,

 

Re.: If you want to do any processing on it (and other mono assemblies), you
have to disable verification:

 

sn -Vr Mono.Android.dll

 

Thanks. I also had to add Mono.Android.dll, Mono.Security.dll and
System.Xml.dll to the GAC. The last two assemblies are being used by
Mono.Android.dll.

 

 

Best Regards,

Narcís Calvet

Steema Software

 <http://www.steema.com/> http://www.steema.com

 <http://twitter.com/SteemaSoftware> http://twitter.com/SteemaSoftware

 <https://www.facebook.com/SteemaSoftware>
https://www.facebook.com/SteemaSoftware

 

 

 

From: monodroid-boun...@lists.ximian.com
[mailto:monodroid-boun...@lists.ximian.com] On Behalf Of Igor Russkih
Sent: dimarts, 10 / juliol / 2012 13:39
To: Discussions related to Mono for Android
Subject: Re: [mono-android] Mono.Android.dll Strong name validation failed

 

Because it is only delay signed, but not strong signed.

 

If you want to do any processing on it (and other mono assemblies), you have
to disable verification:

 

sn -Vr Mono.Android.dll

 

BTW question to Jon - why can't you sign mono assemblies with your own
private key?


  Igor



On Tue, Jul 10, 2012 at 2:10 PM, Narcís Calvet <nar...@steema.com> wrote:

Hello,

 

Loading the latest Mono.Android.dll release available (4.2.4) using either
Assembly.LoadFrom or Assembly.LoadFile we get this exception:

 

  Message=Could not load file or assembly 'Mono.Android, Version=0.0.0.0,
Culture=neutral, PublicKeyToken=c4c4237547e4b6cd' or one of its
dependencies. Strong name validation failed. (Exception from HRESULT:
0x8013141A)

 

Code being used in a desktop application is:

 

                      //Assembly.LoadFrom(openFileDialog1.FileName);

                      Assembly.LoadFile(openFileDialog1.FileName);

 

Any ideas why this error might occur?

 

Thanks in advance.

 

 

Best Regards,

Narcís Calvet

Steema Software

http://www.steema.com <http://www.steema.com/> 

http://twitter.com/SteemaSoftware

https://www.facebook.com/SteemaSoftware

 

 


_______________________________________________
Monodroid mailing list
Monodroid@lists.ximian.com

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid

 

_______________________________________________
Monodroid mailing list
Monodroid@lists.ximian.com

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid

Reply via email to