Skip to content

Commit

Permalink
style: consider NU1605 and NU1701 as errors
Browse files Browse the repository at this point in the history
  • Loading branch information
skwasjer committed Nov 2, 2023
1 parent ee65ec8 commit ba64bc1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
<ImplicitUsings>enable</ImplicitUsings>
<NoWarn>$(NoWarn);IDE0079;S1135;CA1510</NoWarn>
<NoWarn Condition="'$(Configuration)'=='Release'">$(NoWarn);NETSDK1138</NoWarn>
<WarningsAsErrors>$(WarningsAsErrors);NU1605;NU1701</WarningsAsErrors>
<ContinuousIntegrationBuild Condition="'$(Configuration)'=='Release'">true</ContinuousIntegrationBuild>
</PropertyGroup>

Expand Down
2 changes: 1 addition & 1 deletion src/Directory.Build.targets
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project>

<PropertyGroup>
<WarningsAsErrors>$(WarningsAsErrors);NU1605;CS1591</WarningsAsErrors>
<WarningsAsErrors>$(WarningsAsErrors);CS1591</WarningsAsErrors>
<DefineConstants Condition="$(TargetFramework.StartsWith('netstandard1'))">$(DefineConstants);NETSTD_LEGACY</DefineConstants>
</PropertyGroup>

Expand Down

0 comments on commit ba64bc1

Please sign in to comment.