[mono-android] Configuration - Linking option

Jonathan Pryor jonp at xamarin.com
Wed Feb 15 19:44:33 UTC 2012


On Feb 15, 2012, at 9:24 AM, Arvis Lieģenieks wrote:
> Can't understand when to choose "Sdk Assamblies only" or "Sdk and User Assamblies" in project configuration?

Mono.Android.GoogleMaps.dll is an SDK assembly, and it's being improperly linked, so there's no real difference between those options here.

The problem is that due to a bug (oversight), Mono.Android.GoogleMaps.dll isn't linked the same was as Mono.Android.dll is, causing too much to be removed.

Try disabling linking of Mono.Android.GoogleMaps.dll by using linkskip support:

	http://docs.xamarin.com/android/advanced_topics/linking#linkskip
	http://docs.xamarin.com/android/advanced_topics/build_process#Mandroid_Arguments

	<PropertyGroup>
	    <AndroidLinkMode>Mono.Android.GoogleMaps</AndroidLinkMode>
	</PropertyGroup>

Thanks,
 - Jon



More information about the Monodroid mailing list