Skip to content

Fix IL Linking speed in CI #532

Description

@adrianhall

When building the samples/ area, all the iOS builds take 15+ minutes because of IL trimming.

See https://blog.verslu.is/maui/exclude-assemblies-from-trimming/ for details.

Using this blog as a basis, determine the best path forward to speed up the CI check.

  • (PREFERRED) Potentially build with "debug" mode for the check
  • set PublishTrimming option to false in csproj
  • Add a Linker.xml which excludes all the relevant packages

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions