Skip to content

[net10.0] Enable trimmer warnings #27316

@rmarinho

Description

@rmarinho

Description

For getting the net10 to build with the latest bits we had to ignore some trimming warnings

EnableTrimAnalyzer, and SuppressTrimAnalysisWarnings were set to false.

This change happened on iOS side that has eenable these warnings by default here. But .NET MAUI is not trimmer friendly for all features.

Is this a regression from previous behavior?

Yes, this used to work in .NET MAUI

Last version that worked well

net9.0

Affected platforms

iOS

Metadata

Metadata

Assignees

Labels

area-publishingIssues with the app packaging/publishing process (ipk/apk/msix/trimming)perf/linkerissues with objects being trimmed inappropriately (sub: perf)platform/ioss/triagedIssue has been reviewedt/bugSomething isn't working

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions