Skip to content

Commit

Permalink
Update Directory.Build.props
Browse files Browse the repository at this point in the history
  • Loading branch information
jamescrosswell committed Sep 23, 2024
1 parent bcec720 commit aa0c479
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@
<NoWarn>$(NoWarn);CS8002</NoWarn>

<!-- We need to support old stuff. Applications should definitely address these advisory warnings though. -->
<NoWarn>$(NoWarn);NU1903</NoWarn>
<NoWarn>$(NoWarn);NU1901;NU1902;NU1903;NU1904</NoWarn>

<!-- Remove when net9.0 is GA -->
<NoWarn>$(NoWarn);NU1603</NoWarn>

<!-- https://learn.microsoft.com/en-us/dotnet/core/compatibility/sdk/8.0/dotnet-restore-audit#version-introduced -->
<WarningsNotAsErrors>NU1903</WarningsNotAsErrors>
<WarningsNotAsErrors>NU1901;NU1902;NU1903;NU1904</WarningsNotAsErrors>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)' != 'Release'">
Expand Down

0 comments on commit aa0c479

Please sign in to comment.