Xamarin Linker - App crashes unless Linker is set to "Don't Link" but IPA is too big for App Store

110 Views Asked by At

Our Xamarin app will crash unless the linker is set to "Don't link" - however this creates an archive that is too big for the app store/TestFlight limits. We use the Microsoft.Azure.cosmos NuGet package and the linker seems to be removing it on the build when "Link SDK's only" is selected. How can I tell the linker not to remove since I can't edit the 3rd party assembly itself? All items that I have found regarding preserving linking behavior seem to involve adding code to the assembly itself, which is not an option here.

Thank you!!!

1

There are 1 best solutions below

1
Mmendelow On

Per Jason, use the Linker doc. The subtle difference between nolinkaway and linkskip is what I was missing