Skip to content

Commit cba322e

Browse files
committed
Enabled CsWinRTAotWarningLevel 2
1 parent 62ed153 commit cba322e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ToolkitComponent.SourceProject.props

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717

1818
<PropertyGroup>
1919
<IsAotCompatible Condition="$([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net8.0'))">true</IsAotCompatible>
20+
<CsWinRTAotWarningLevel Condition="'$(IsAotCompatible)' == 'true'">2</CsWinRTAotWarningLevel>
2021
</PropertyGroup>
2122

2223
<!-- Auto Generate our own Assembly Info -->

0 commit comments

Comments
 (0)