Adnan Khan

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=, 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. 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.

Android Mono – Error using other dlls – Novell.MonoDroid.Common.targets


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Blog Stats

  • 10,669 hits

Enter your email address to follow this blog and receive notifications of new posts by email.

Join 14 other followers

Monthly Archives

My Twitter Tweets

My Delicio Links

%d bloggers like this: