link.xml 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. <!--
  2. https://docs.unity3d.com/2018.4/Documentation/Manual/ManagedCodeStripping.html
  3. <linker>
  4. <assembly fullname="MyAssemblyName"> // the name of the assembly
  5. <type fullname="MyNamespace" preserve="all"/> // excludes all classes that are direct children of MyNamespace
  6. <type fullname="MyNamespace.*" preserve="all"/> // excludes all namespaces and classes recursively under MyNamespace
  7. <type fullname="MyNamespace*" preserve="all"/> // excludes all namespaces and classes recursively under MyNamespace. Would also exclude the namespace MyNamespaceABC
  8. <type fullname="My*" preserve="all"/> // excludes all namespaces and classes that start with My and all children of those namespaces
  9. <type fullname="*" preserve="all"/> // excludes all namespaces and classes in the assembly
  10. <type fullname="MyNamespace.ObservedCollection`1" preserve="all"/> // Excludes generic ObservedCollection<T>
  11. <type fullname="MyNamespace.ObservedCollection`2" preserve="all"/> // Excludes generic ObservedCollection<T,K>
  12. </assembly>
  13. <assembly fullname="MySecondAssemblyName">
  14. <namespace fullname="My.Second.Namespace" preserve="all"/>
  15. </assembly>
  16. </linker>
  17. -->
  18. <linker>
  19. <assembly fullname="UnityEngine">
  20. <type fullname="UnityEngine.AndroidJavaRunnableProxy" preserve="all" />
  21. </assembly>
  22. <!--
  23. <assembly fullname="mscorlib">
  24. <type fullname="System.Reflection" preserve="all"/>
  25. <type fullname="System.Security.Cryptography" preserve="all"/>
  26. <type fullname="System.Runtime.CompilerServices" preserve="all"/>
  27. <type fullname="System.Runtime.InteropServices" preserve="all"/>
  28. <type fullname="System.Diagnostics" preserve="all"/>
  29. <type fullname="System.Security" preserve="all"/>
  30. <type fullname="System.Security.Permissions" preserve="all"/>
  31. <type fullname="System.IO" preserve="all"/>
  32. </assembly>
  33. <assembly fullname="Assembly-CSharp">
  34. <type fullname="AWCore.*" preserve="all"/>
  35. <type fullname="PureMVC.*" preserve="all"/>
  36. <type fullname="neogame.*" preserve="all"/>
  37. <type fullname="AW.*" preserve="all"/>
  38. <type fullname="Bello.*" preserve="all"/>
  39. <type fullname="ES3Types.*" preserve="all"/>
  40. </assembly>
  41. -->
  42. </linker>