Skip to content

Commit 95ae67f

Browse files
authored
Merge pull request #769 from adamralph/treat-errors-as-warnings-release
treat errors as warnings when building Release
2 parents 70210ce + 0dce989 commit 95ae67f

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

Directory.Build.props

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@
1313
<RestorePackagesWithLockFile>true</RestorePackagesWithLockFile>
1414
</PropertyGroup>
1515

16+
<PropertyGroup Condition="'$(Configuration)'=='Release'">
17+
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
18+
</PropertyGroup>
19+
1620
<PropertyGroup Condition="'$(CI)' != ''">
1721
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
1822
</PropertyGroup>

0 commit comments

Comments
 (0)