31 строка
1.3 KiB
XML
31 строка
1.3 KiB
XML
<Project>
|
|
|
|
<PropertyGroup>
|
|
<!-- TODO: remove when updating away from .NET5.0 -->
|
|
<SuppressTfmSupportBuildWarnings Condition="'$(TargetFramework)' == 'net5.0'">true</SuppressTfmSupportBuildWarnings>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup>
|
|
<RepoRoot>$(MSBuildThisFileDirectory)</RepoRoot>
|
|
<EngRoot>$(RepoRoot)eng/</EngRoot>
|
|
<TargetsRoot>$(EngRoot)build/</TargetsRoot>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup>
|
|
<ContinuousIntegrationBuild>false</ContinuousIntegrationBuild>
|
|
<ContinuousIntegrationBuild Condition="'$(TF_BUILD)' == 'true'">true</ContinuousIntegrationBuild>
|
|
<CI>$(ContinuousIntegrationBuild)</CI>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup>
|
|
<!-- Nuget audit as warnings only, even in TreatWarningsAsErrors. -->
|
|
<!-- Except for in CI, critical will fail the build. -->
|
|
<WarningsNotAsErrors>$(WarningsNotAsErrors);NU1901;NU1902;NU1903</WarningsNotAsErrors>
|
|
<WarningsNotAsErrors Condition="'$(CI)' == 'false'">$(WarningsNotAsErrors)NU1904</WarningsNotAsErrors>
|
|
<WarningsAsErrors Condition="'$(CI)' == 'true'">$(WarningsAsErrors)NU1904</WarningsAsErrors>
|
|
<NuGetAuditLevel>moderate</NuGetAuditLevel> <!-- warn on moderate severity only. -->
|
|
<NuGetAuditMode>all</NuGetAuditMode> <!-- audit transitive dependencies. -->
|
|
</PropertyGroup>
|
|
|
|
</Project>
|