build-flow.api/Directory.Build.props

15 lines
681 B
XML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<Project>
<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<!-- 关闭 NuGet 漏洞审计:本仓库不依赖私有 NuGet 源(nuget.multiway-cloud.com),
关掉审计后 restore/build 不再访问该源取漏洞数据,避免 NU1900 触发。 -->
<NuGetAudit>false</NuGetAudit>
<NuGetAuditMode>none</NuGetAuditMode>
<!-- 漏洞告警统一抑制:NU1900(审计失败)、NU1902(中危)、NU1903(高危) -->
<NoWarn>$(NoWarn);NU1900;NU1902;NU1903</NoWarn>
</PropertyGroup>
</Project>