Skip to content

Commit 2fe303e

Browse files
authored
Merge pull request #912 from CommunityToolkit/dev/disable-iid-optimizer
Disable IID optimizer in MVVM Toolkit
2 parents a4d239e + dcc03e3 commit 2fe303e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/CommunityToolkit.Mvvm/CommunityToolkit.Mvvm.csproj

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@
1717
-->
1818
<CsWinRTGenerateProjection>false</CsWinRTGenerateProjection>
1919

20+
<!-- We'll never have any IIDs to patch in this library -->
21+
<CsWinRTIIDOptimizerOptOut>true</CsWinRTIIDOptimizerOptOut>
22+
2023
<!-- Enable AOT warnings for types implementing projected WinRT interfaces mapped to built-in types (eg. 'INotifyPropertyChanged') -->
2124
<CsWinRTAotWarningLevel>2</CsWinRTAotWarningLevel>
2225
</PropertyGroup>

0 commit comments

Comments
 (0)