[mono-android] How to use external dll in monodroid?
Jonathan Pryor
jpryor at novell.com
Mon Mar 21 11:02:34 EDT 2011
On Mar 21, 2011, at 5:54 AM, mariano rotunno wrote:
> in monodroid in vs2010, and after that to deploy the app with CTRL+F5 key,
> but i get SIGNING FAILED: Could not sign the Android package. See
> exception for more details.
It's probably because your assembly depends upon an assembly that Mono for Android doesn't provide. Unfortunately, the error message isn't entirely useful (it's probably saying "could not find directory obj/Debug/assets" or something); this will be improved in the next release.
In the meantime, you could view the assemblies dependencies (e.g. `monodis --assemblyref Assembly.dll`) and make sure that the files and version numbers are correct; in all likelihood, they're not.
The safest way to go, atm, is to rebuild your sources under Mono for Android to generate a new assembly. In the future, we should support Portable Library Projects, but this won't be tested by 1.0.
- Jon
More information about the Monodroid
mailing list