Fail release builds if there are warnings

This commit is contained in:
Cyberboss
2017-10-18 11:27:40 -04:00
parent 4cb95a0ea5
commit 8eef422936
6 changed files with 6 additions and 0 deletions
+1
View File
@@ -37,6 +37,7 @@
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
<Prefer32Bit>true</Prefer32Bit>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
</PropertyGroup>
<ItemGroup>
<Compile Include="AdminCommands.cs" />