Skip to content

Commit

Permalink
Don't mark nuget warnigns as errors - it stops the command line being…
Browse files Browse the repository at this point in the history
… able to uninstall (and hence upgrade) any packages
  • Loading branch information
GrahamTheCoder committed Sep 29, 2024
1 parent e0a36d1 commit 42c30b3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<NoWarn>$(NoWarn);1998;NU5100</NoWarn>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<WarningsNotAsErrors>$(WarningsNotAsErrors);NU1605;NU1701;NU1901;NU1902;NU1903;NU1904</WarningsNotAsErrors>
<WarningLevel>4</WarningLevel>
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
<LangVersion>10.0</LangVersion>
Expand Down

0 comments on commit 42c30b3

Please sign in to comment.