Skip to content

Commit

Permalink
build: change NoWarn to WarningsNotAsErrors
Browse files Browse the repository at this point in the history
Use WarningsNotAsErrors rather than NoWarn for NU1605 error
as suggested by smoothdeveloper in [1].

[1] #680 (comment)
  • Loading branch information
webwarrior-ws authored and knocte committed Jan 25, 2024
1 parent 0ae7c7b commit acd40c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<DebugType>embedded</DebugType>
<NoWarn>$(NoWarn);NU1605</NoWarn>
<WarningsNotAsErrors>$(WarningsNotAsErrors);NU1605</WarningsNotAsErrors>
</PropertyGroup>
</Project>

0 comments on commit acd40c5

Please sign in to comment.