In Data projects, treat warnings as errors.
Sean Hall committed
Mar 2, 2021 at 15:29 UTC
b87b6f87a2912ef629cddfc54d773a47f88d83dc
1 file changed
+6
src/Custom.Build.props
new
+6
@@ -0,0 +1,6 @@
1
+<!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. -->
2
+<Project>
3
+ <PropertyGroup Condition="'$(Configuration)'=='Release'">
4
+ <TreatWarningsAsErrors>true</TreatWarningsAsErrors>
5
+ </PropertyGroup>
6
+</Project>