Skip to content

Commit

Permalink
Treat MSBuild warnings as errors (#427)
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Farr <[email protected]>
(cherry picked from commit 6c3f959)
  • Loading branch information
Xtansia committed Nov 10, 2023
1 parent 2e046f3 commit eb1ff1e
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 @@ -12,6 +12,7 @@
<!-- File version reflects actual version number without prelease since that not allowed in its struct -->
<FileVersion>$(CurrentAssemblyFileVersion)</FileVersion>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<MSBuildTreatWarningsAsErrors>true</MSBuildTreatWarningsAsErrors>
<MajorVersion>$(Version.Split('.')[0])</MajorVersion>
</PropertyGroup>
<!-- Common Nuget metadata-->
Expand Down

0 comments on commit eb1ff1e

Please sign in to comment.