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.dll
in to the C:\\Program Files\\Microsoft SDKs\\Windows\\v7.0A\\bin
folder, open a command prompt and do following steps:
cd C:\\Program Files\\Microsoft SDKs\\Windows\\v7.0A\\bin
sn -Vr Mono.Android.dll
gacutil -i C:\\Program Files\\Microsoft SDKs\\Windows\\v7.0A\\bin
Then build the project.
If you get the error for another DLL like System.xml.dll
etc. then repeat above procedure for respective DLL.
All the best.......!
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.