Skip to content

Commit

Permalink
Ensure that code analysis warnings always fail the verification build
Browse files Browse the repository at this point in the history
  • Loading branch information
zvirja committed Oct 4, 2017
1 parent bd80669 commit e1d4599
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Src/Albedo/Albedo.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
<!-- FxCop doesn't support .NET Standard 2.0, therefore it's disabled to not fail the build. -->
<RunCodeAnalysis Condition=" '$(TargetFramework)'!='netstandard2.0' ">true</RunCodeAnalysis>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<CodeAnalysisTreatWarningsAsErrors>true</CodeAnalysisTreatWarningsAsErrors>
</PropertyGroup>

</Project>

0 comments on commit e1d4599

Please sign in to comment.