-
Notifications
You must be signed in to change notification settings - Fork 511
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
Enable EnableTrimAnalyzer by default #21293
Comments
Agreed, we should enable this in the early previews of .NET 10 and get feedback if any 👍 |
For Android, I think we will have this change in .NET 9 RC 2 (if merged in time): So, the project template will have A customer could remove |
Do we set |
No we don't set |
The idea is to set
EnableTrimAnalyzers=true
by default in our targets somewhere, so that customers get trimmer warnings by default in all configurations (even if they've disabled linking in some configurations).There are a few thoughts here:
So the proposal is to just set
EnableTrimAnalyzers=true
by default.EnableTrimAnalyzers=false
).In order to minimize impact, we could enable it early on for .NET 10 to capture feedback. If it turns out too disruptive, we can also back the change out again (which is easy, because it's a very simple change).
CC @jonathanpeppers
The text was updated successfully, but these errors were encountered: