Skip to content

Commit

Permalink
Treat CS warnings as errors
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredmoo committed Aug 23, 2018
1 parent 02eb7fb commit 075e7e9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions build.props
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
<Project>
<PropertyGroup>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
</PropertyGroup>
<PropertyGroup Condition=" $(TargetFramework.StartsWith(`net4`)) ">
<DefineConstants>$(DefineConstants);NETFRAMEWORK</DefineConstants>
</PropertyGroup>
Expand Down

0 comments on commit 075e7e9

Please sign in to comment.