-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Default values for feature switches in trimmed console apps #14475
Comments
My thoughts and opinions: I think I believe the default for I believe For
|
Thanks @eerhardt - that makes sense. I'm not sure about |
I updated the table with the suggestions from @eerhardt for the most part. |
The ability to use |
@vitek-karas - is there more work to do here? |
Probably not - what we don't have is any documentation what are the defaults with/without trimming. @sbomer - with your |
I think we can close this issue.
This is the case :)
I'm not sure we really did these, but I think we have case-by-case justification for each feature switch that we defaulted.
I left a few comments there. I think the actionable remaining work is just docs and whether to rename the publish options. |
Re-opening since a few of the settings didn't get defaulted as specified above. Specifically:
We should also consider defaulting
|
…Encoding in trimmed applications Fix dotnet#14475
Runtime repo has been introducing feature switches which among other things help reduce application size when the app is trimmed. They also help avoid trim analysis warnings. This issue is to determine and implement the default values for various feature switches when trimming is turned on.
Ideally the experience would be that trimming a template console app doesn't produce any trim analysis warnings and the size of the app is as small as possible. Downside of turning off features by default is obviously potentially unexpected change of behavior of the app.
For description of the feature switches please refer to feature-switches.md
PublishTrimmed=true
true
false
true
true
(unchanged)false
false
(unchanged)true
/false
in ASP.NETfalse
true
true
(unchanged)false
false
true
true
(unchanged)TODO:
The text was updated successfully, but these errors were encountered: