I have done android project in the mono develop It working fine in debug mode but when I am Trying to run project in release mode then it is giving following error:
C:\Users\Administrator.EDZ0138\Documents\Projects\IdooctopusNew\IdooctopusNew\SGEN: Error: 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) (IdooctopusNew)
Can anyone please help me ?
I got a solution for this issue.
You just have to do is, put the
mono.android.dllin to theC:\Program Files\Microsoft SDKs\Windows\v7.0A\binfolder, open a command prompt and do following steps:cd C:\Program Files\Microsoft SDKs\Windows\v7.0A\binsn -Vr Mono.Android.dllgacutil -i C:\Program Files\Microsoft SDKs\Windows\v7.0A\binThen build the project.
If you get the error for another DLL like
System.xml.dlletc. then repeat above procedure for respective DLL.All the best.......!