Skip to content

Commit 9266156

Browse files
author
Marc Sallin
committed
Treat code analysis warnings as errors in release build.
1 parent 52f55a8 commit 9266156

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

SQLite.CodeFirst/SQLite.CodeFirst.csproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
<ErrorReport>prompt</ErrorReport>
2727
<CodeAnalysisRuleSet>..\Shared\SQLite.CodeFirst.ruleset</CodeAnalysisRuleSet>
2828
<RunCodeAnalysis>true</RunCodeAnalysis>
29+
<CodeAnalysisTreatWarningsAsErrors>false</CodeAnalysisTreatWarningsAsErrors>
2930
</PropertyGroup>
3031
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug-40|AnyCPU'">
3132
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
@@ -45,6 +46,7 @@
4546
<ErrorReport>prompt</ErrorReport>
4647
<CodeAnalysisRuleSet>..\Shared\SQLite.CodeFirst.ruleset</CodeAnalysisRuleSet>
4748
<RunCodeAnalysis>true</RunCodeAnalysis>
49+
<CodeAnalysisTreatWarningsAsErrors>true</CodeAnalysisTreatWarningsAsErrors>
4850
</PropertyGroup>
4951
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release-40|AnyCPU'">
5052
<OutputPath>bin\Release\net40</OutputPath>

0 commit comments

Comments
 (0)