Skip to content

Commit f8e5602

Browse files
committed
Fail CI for build warnings
1 parent 8570834 commit f8e5602

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Directory.Build.props

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
<Project>
22

3+
<PropertyGroup>
4+
<TreatWarningsAsErrors Condition="'$(Configuration)' == 'Release'">true</TreatWarningsAsErrors>
5+
</PropertyGroup>
6+
37
<ItemGroup>
48
<PackageReference Include="StyleCop.Analyzers" Version="1.2.0-beta.406" PrivateAssets="all" />
59
</ItemGroup>

0 commit comments

Comments
 (0)