Skip to content

Commit 395f45e

Browse files
committed
Enable feature switch for trimming
1 parent 1e0a83b commit 395f45e

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
11
<Project>
22

3+
<!-- Default values for all feature switches -->
4+
<PropertyGroup>
5+
<MvvmToolkitEnableINotifyPropertyChangingSupport Condition="'$(MvvmToolkitEnableINotifyPropertyChangingSupport)' == ''">true</MvvmToolkitEnableINotifyPropertyChangingSupport>
6+
</PropertyGroup>
7+
8+
<!--
9+
Configuration for the feature switches (to support IL trimming).
10+
See the 'ILLink.Substitutions.xml' file for more details on that.
11+
-->
12+
<ItemGroup>
13+
14+
<!-- MVVMTOOLKIT_ENABLE_INOTIFYPROPERTYCHANGING_SUPPORT switch -->
15+
<RuntimeHostConfigurationOption Include="MVVMTOOLKIT_ENABLE_INOTIFYPROPERTYCHANGING_SUPPORT"
16+
Value="$(MvvmToolkitEnableINotifyPropertyChangingSupport)"
17+
Trim="true" />
18+
</ItemGroup>
19+
320
</Project>

0 commit comments

Comments
 (0)