LinkerConfig.xml 946 B

12345678910111213141516171819202122232425262728
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <!--
  3. This file specifies which parts of the BCL or Blazor packages must not be
  4. stripped by the IL Linker even if they aren't referenced by user code.
  5. -->
  6. <linker>
  7. <assembly fullname="mscorlib">
  8. <!--
  9. Preserve the methods in WasmRuntime because its methods are called by
  10. JavaScript client-side code to implement timers.
  11. Fixes: https://github.com/dotnet/blazor/issues/239
  12. -->
  13. <type fullname="System.Threading.WasmRuntime"/>
  14. </assembly>
  15. <assembly fullname="System.Core">
  16. <!--
  17. System.Linq.Expressions* is required by Json.NET and any
  18. expression.Compile caller. The assembly isn't stripped.
  19. -->
  20. <type fullname="System.Linq.Expressions*"/>
  21. </assembly>
  22. <!--
  23. In this example, the app's entry point assembly is listed. The assembly
  24. isn't stripped by the IL Linker.
  25. -->
  26. <assembly fullname="ControlCatalog" preserve="All" />
  27. </linker>