-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
Update feature switches documentation #41739
Comments
Cc @eerhardt @dotnet/illink I don't know how may of these are actually implementation details. The repo docs in the dotnet/runtime repo are not public docs, they're docs on implementation details. E.g. I'm not sure about scenarios where we'd want to support/document the appcontext switches. |
I think there's a different level of "public" between things like the runtime and higher-level app models (like MAUI and WinForms), versus "public" that we want .NET application developers to be aware of. A decent amount of these feature switches should never be used by .NET application developers, but they were created for specific app model needs. For example I think the switches that are meant for .NET application developers should be documented on learn.microsoft.com. The switches that aren't, I don't think they need to be. Of the above list, ones that I think application developers should be aware of:
|
Ensure that the feature switches documentation 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
The text was updated successfully, but these errors were encountered: