File tree Expand file tree Collapse file tree 3 files changed +17
-1
lines changed
Expand file tree Collapse file tree 3 files changed +17
-1
lines changed Original file line number Diff line number Diff line change 1313 <EngRoot >$(RepoRoot)eng/</EngRoot >
1414 </PropertyGroup >
1515
16+ <PropertyGroup >
17+ <ContinuousIntegrationBuild >false</ContinuousIntegrationBuild >
18+ <ContinuousIntegrationBuild Condition =" '$(TF_BUILD)' == 'true'" >true</ContinuousIntegrationBuild >
19+ <CI >$(ContinuousIntegrationBuild)</CI >
20+ </PropertyGroup >
21+
22+ <PropertyGroup >
23+ <!-- Nuget audit as warnings only, even in TreatWarningsAsErrors. -->
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 >
28+ <NuGetAuditLevel >moderate</NuGetAuditLevel > <!-- warn on moderate severity only. -->
29+ <NuGetAuditMode >all</NuGetAuditMode > <!-- audit transitive dependencies. -->
30+ </PropertyGroup >
31+
1632</Project >
Original file line number Diff line number Diff line change 2121 <CodeAnalysisRuleSet >$(MSBuildThisFileDirectory)..\src.ruleset</CodeAnalysisRuleSet >
2222 <NoWarn >$(NoWarn);NU1701</NoWarn >
2323
24- <ContinuousIntegrationBuild Condition =" '$(TF_BUILD)' == 'true'" >true</ContinuousIntegrationBuild >
2524 <DebugType >embedded</DebugType >
2625 <GenerateRuntimeConfigDevFile >true</GenerateRuntimeConfigDevFile ><!-- https://github.com/dotnet/runtime/issues/54684 -->
2726 <DisableImplicitNamespaceImports >true</DisableImplicitNamespaceImports >
Original file line number Diff line number Diff line change 2020 <ItemGroup >
2121 <PackageReference Include =" Microsoft.Azure.WebJobs.Extensions.Http" Version =" 3.2.0" />
2222 <PackageReference Include =" Newtonsoft.Json" Version =" 13.0.3" />
23+ <PackageReference Include =" System.Text.Encodings.Web" Version =" 4.7.2" />
2324 </ItemGroup >
2425
2526</Project >
You can’t perform that action at this time.
0 commit comments