Xamarin.Android Exclude specific assembly from linking

812 Views Asked by At

I updated my xamarin.android packages to the latest version and make the target framework is AndroidQ but now I can't build the project when used Linker properties "SDK Assemblies only"

how I can exclude monkeyCache.SqlLite from linking assemblies

enter image description here

1

There are 1 best solutions below

1
3615 On

You can exclude assemblies from linking

  • editing .csproj file :

<PropertyGroup><AndroidLinkSkip>MvvmCross;MvvmCross.Plugin.Messenger</AndroidLinkSkip>

  • via project properties -> Android Options enter image description here