Skip to content

Commit

Permalink
Enabled CsWinRTAotWarningLevel 2
Browse files Browse the repository at this point in the history
  • Loading branch information
Arlodotexe committed Sep 17, 2024
1 parent 62ed153 commit cba322e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ToolkitComponent.SourceProject.props
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@

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

<!-- Auto Generate our own Assembly Info -->
Expand Down

0 comments on commit cba322e

Please sign in to comment.