In Extensibility projects, treat warnings as errors.
Sean Hall committed
Mar 2, 2021 at 15:25 UTC
0a1b870e33c1ef741950e26377f8eaa834dc4116
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>