Skip to content

Commit cc62937

Browse files
authored
Fix feature switch example
1 parent d0b3c59 commit cc62937

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

xml/System.Diagnostics.CodeAnalysis/FeatureSwitchDefinitionAttribute.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,9 @@ When the app is trimmed with the following feature settings in the project file,
5555
5656
```xml
5757
<ItemGroup>
58-
<RuntimeHostConfigurationOption Include="Feature.IsSupported" Value="false" />
58+
<RuntimeHostConfigurationOption Include="Feature.IsSupported" Value="false" Trim="true" />
5959
</ItemGroup>
6060
```
61-
6261
]]></format>
6362
</example>
6463
</Docs>

0 commit comments

Comments
 (0)