We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e068ce commit 8b12f30Copy full SHA for 8b12f30
src/Directory.Build.props
@@ -11,11 +11,15 @@
11
<NuGetAuditMode>direct</NuGetAuditMode>
12
</PropertyGroup>
13
14
- <PropertyGroup Condition="'$(CI)' == 'true'">
+ <PropertyGroup Condition="'$(TreatWarningsAsErrors)' == ''">
15
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
16
<WarningsNotAsErrors>NU1901;NU1902;NU1903;NU1904</WarningsNotAsErrors>
17
18
19
+ <PropertyGroup Condition="'$(TreatWarningsAsErrors)' == 'false'">
20
+ <TreatWarningsAsErrors>false</TreatWarningsAsErrors>
21
+ </PropertyGroup>
22
+
23
<PropertyGroup>
24
<Product>Hot Chocolate</Product>
25
<Authors>ChilliCream authors and contributors</Authors>
0 commit comments