Skip to content

Commit abcc81c

Browse files
committed
core+async: Enable TreatWarningsAsErrors
1 parent 16c870c commit abcc81c

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/SQLite.Net.Async/SQLite.Net.Async.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
<DefineConstants>TRACE;DEBUG;JETBRAINS_ANNOTATIONS</DefineConstants>
3131
<ErrorReport>prompt</ErrorReport>
3232
<WarningLevel>4</WarningLevel>
33+
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
3334
</PropertyGroup>
3435
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
3536
<DebugType>pdbonly</DebugType>

src/SQLite.Net/SQLite.Net.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@
4646
<DefineConstants>TRACE;DEBUG;JETBRAINS_ANNOTATIONS</DefineConstants>
4747
<ErrorReport>prompt</ErrorReport>
4848
<WarningLevel>4</WarningLevel>
49+
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
4950
</PropertyGroup>
5051
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
5152
<DebugType>pdbonly</DebugType>

0 commit comments

Comments
 (0)