Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[net10.0] Enable trimmer warnings #27316

Open
rmarinho opened this issue Jan 23, 2025 · 0 comments
Open

[net10.0] Enable trimmer warnings #27316

rmarinho opened this issue Jan 23, 2025 · 0 comments
Labels
area-publishing Issues with the app packaging/publishing process (ipk/apk/msix/trimming) linker issues with objects being trimmed inappropriately (sub: perf) platform/iOS 🍎 s/triaged Issue has been reviewed t/bug Something isn't working

Comments

@rmarinho
Copy link
Member

rmarinho commented Jan 23, 2025

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

@rmarinho rmarinho added linker issues with objects being trimmed inappropriately (sub: perf) platform/iOS 🍎 t/bug Something isn't working labels Jan 23, 2025
@rmarinho rmarinho added this to the .NET 10 Planning milestone Jan 23, 2025
@dotnet-policy-service dotnet-policy-service bot added the s/triaged Issue has been reviewed label Jan 23, 2025
@rmarinho rmarinho changed the title [net10] Enable trimmer warnings [net10.0] Enable trimmer warnings Jan 23, 2025
@rmarinho rmarinho added the area-publishing Issues with the app packaging/publishing process (ipk/apk/msix/trimming) label Feb 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-publishing Issues with the app packaging/publishing process (ipk/apk/msix/trimming) linker issues with objects being trimmed inappropriately (sub: perf) platform/iOS 🍎 s/triaged Issue has been reviewed t/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant