dotnet / dotnet/docs

Update feature switches documentation

Open
#41,739 5 comments 0 reactions 1 assignee Claimed by @LakshanF View on GitHub
:watch: Not Triaged
Dominant language
No language data
Stars
4.8k
Forks
6.1k
Avg merge
19h 10m
Merged PRs (30d)
268

Description

Ensure that the feature switches [documentation](https://learn.microsoft.com/en-us/dotnet/core/deploying/trimming/trimming-options#trimming-framework-library-features) is up to date with the recently added new ones. Also, it would be good to have the `AppContext` settings for each build property.

The following public feature switches are not yet in the docs
- `DisableDependencyInjectionDynamicEngine`
- `DynamicCodeSupport`
- `EnableGeneratedComInterfaceComImportInterop`
- `HybridGlobalization`
- `JsonSerializerIsReflectionEnabledByDefault`
- `PredefinedCulturesOnly`
- `VerifyDependencyInjectionOpenGenericServiceTrimmability`

These public feature switches are documented but the `AppContext `setting strings are not defined.
- `BuiltInComInteropSupport`
- `CustomResourceTypesSupport`
- `DebuggerSupport`
- `EnableCppCLIHostActivation`
- `EnableUnsafeBinaryFormatterInDesigntimeLicenseContextSerialization`
- `EnableUnsafeBinaryFormatterSerialization`
- `EnableUnsafeUTF7Encoding`
- `EventSourceSupport`
- `HttpActivityPropagationSupport`
- `MetadataUpdaterSupport`
- `MetricsSupport`
- `StartupHookSupport`
- `UseNativeHttpHandler`
- `UseSystemResourceKeys`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.