File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 13
13
<EngRoot >$(RepoRoot)eng/</EngRoot >
14
14
</PropertyGroup >
15
15
16
+ <PropertyGroup >
17
+ <ContinuousIntegrationBuild >false</ContinuousIntegrationBuild >
18
+ <ContinuousIntegrationBuild Condition =" '$(TF_BUILD)' == 'true'" >true</ContinuousIntegrationBuild >
19
+ <CI >$(ContinuousIntegrationBuild)</CI >
20
+ </PropertyGroup >
21
+
16
22
<PropertyGroup >
17
23
<!-- Nuget audit as warnings only, even in TreatWarningsAsErrors. -->
18
- <WarningsNotAsErrors >NU1901;NU1902;NU1903;NU1904</WarningsNotAsErrors >
24
+ <!-- Except for in CI, critical will fail the build. -->
25
+ <WarningsNotAsErrors >$(WarningsNotAsErrors);NU1901;NU1902;NU1903</WarningsNotAsErrors >
26
+ <WarningsNotAsErrors Condition =" '$(CI)' == 'false'" >$(WarningsNotAsErrors)NU1904</WarningsNotAsErrors >
27
+ <WarningsAsErrors Condition =" '$(CI)' == 'true'" >$(WarningsAsErrors)NU1904</WarningsAsErrors >
19
28
<NuGetAuditLevel >moderate</NuGetAuditLevel > <!-- warn on moderate severity only. -->
20
29
<NuGetAuditMode >all</NuGetAuditMode > <!-- audit transitive dependencies. -->
21
30
</PropertyGroup >
Original file line number Diff line number Diff line change 22
22
<CodeAnalysisRuleSet >$(MSBuildThisFileDirectory)..\src.ruleset</CodeAnalysisRuleSet >
23
23
<NoWarn >$(NoWarn);NU1701</NoWarn >
24
24
25
- <ContinuousIntegrationBuild Condition =" '$(TF_BUILD)' == 'true'" >true</ContinuousIntegrationBuild >
26
25
<DebugType >embedded</DebugType >
27
26
<GenerateRuntimeConfigDevFile >true</GenerateRuntimeConfigDevFile ><!-- https://github.com/dotnet/runtime/issues/54684 -->
28
27
<DisableImplicitNamespaceImports >true</DisableImplicitNamespaceImports >
You can’t perform that action at this time.
0 commit comments