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

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

About these ads

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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

  • 5,318 hits

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

Join 10 other followers

Monthly Archives

My Twitter Tweets

My Delicio Links

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: