Posted on: October 23, 2012
If you try to use other dll file with Mono Android Project then you will get this type of error message.
C:\Program Files (x86)\MSBuild\Novell\Novell.MonoDroid.Common.targets(464,2): error :
Exception while loading assemblies:
System.IO.FileNotFoundException: Could not load assembly ‘System.Configuration,
Version=2.0.0.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a’. Perhaps it doesn’t exist in the Mono for Android profile?
This is you resolved it:
Recompile source library using mono android. You need to do this because Mono Android does not support full .Net framework. Next..do the the following.
1) copy dll file under Assert folder in Mono Android project.
2) under mono develop open assets folder
3) select a dll file you just copy
4) on the right side under property window change “build action” from compile to “AndroidAsset”
Clean your project and recompile.
That’s it.