docs-maui
docs-maui copied to clipboard
.NET MAUI 9: Feature switches
Certain features of MAUI can be enabled or disabled using feature switches. The easiest way to control the features is by putting the corresponding MSBuild property into the app's project file. Disabling unnecessary features can help reducing the app size when combined with the full trimming mode.
More info: https://github.com/simonrozsival/maui/blob/86afbd1de5a00e8bffec197668f11e311882771f/docs/design/FeatureSwitches.md