Equivalent of "Skip linking assemblies" for LinkDescription file?

WannesGhielens.7893WannesGhielens.7893 USMember
edited January 2017 in Xamarin.Android

I've noticed there is a difference between specifying an assembly inside the Skip linking assemblies field in the project config file like so:

System;SomePackage;ETC;

And doing what I'd assume would be the same in a LinkDescription xml file:

<assembly fullname="System">
     <namespace fullname="System" />
</assembly>

Am I doing something wrong or is this intended behavior?

To be clear, the first one properly excludes everything from the linker while the second one still links away some properties and methods of classes inside the namespace...

Best Answer

Answers

  • @JohnMiller said:
    @WannesGhielens.7893,

    You'll have to include the <type> element instead. For example,

    <assembly fullname="System">
         <type fullname="*" />
    </assembly>
    

    Thanks, I'll give this a try and report back.

Sign In or Register to comment.