mirror of
https://github.com/SoPat712/allstarr.git
synced 2026-10-06 21:55:39 -04:00
17 lines
787 B
XML
17 lines
787 B
XML
<Project>
|
|
<PropertyGroup>
|
|
<!--
|
|
Default NuGet vulnerability audit off to avoid NU1900 in offline/local environments.
|
|
Re-enable explicitly with: dotnet test -p:NuGetAudit=true
|
|
-->
|
|
<NuGetAudit Condition="'$(NuGetAudit)' == ''">false</NuGetAudit>
|
|
<NuGetAuditMode Condition="'$(NuGetAudit)' == 'true'">all</NuGetAuditMode>
|
|
<WarningsAsErrors Condition="'$(NuGetAudit)' == 'true'">$(WarningsAsErrors);NU1901;NU1902;NU1903;NU1904</WarningsAsErrors>
|
|
|
|
<!-- Keep compiler and SDK analyzer warnings release-blocking without coupling builds to formatting debt. -->
|
|
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
|
|
<EnableNETAnalyzers>true</EnableNETAnalyzers>
|
|
<EnforceCodeStyleInBuild>false</EnforceCodeStyleInBuild>
|
|
</PropertyGroup>
|
|
</Project>
|