-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
24 lines (23 loc) · 1.29 KB
/
Copy pathDirectory.Build.props
File metadata and controls
24 lines (23 loc) · 1.29 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<Project>
<PropertyGroup>
<TargetFramework Condition="'$(TargetFramework)' == '' and '$(TargetFrameworks)' == ''">net10.0</TargetFramework>
<LangVersion>latest</LangVersion>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<!-- Trim analysis is on for EVERY project (§1 Trimming), not just the two that opted in
locally. This is diagnostics only: it surfaces trim-unsafe patterns as warnings (which
TreatWarningsAsErrors promotes to build breaks) without opting any assembly into
member-level trimming. <IsTrimmable> stays OFF deliberately — see the per-project
comments in PoRedoImage.Client/.Shared for the two runtime failures it caused. -->
<EnableTrimAnalyzer>true</EnableTrimAnalyzer>
<!-- NU1902/1903/1904 (package vulnerability warnings) are intentionally NOT suppressed:
with TreatWarningsAsErrors a vulnerable dependency must break the build, not pass silently. -->
<NuGetAuditMode>all</NuGetAuditMode>
<NuGetAuditLevel>low</NuGetAuditLevel>
</PropertyGroup>
<!-- MinVer: git-tag-driven assembly versioning (§1 Git-Driven Versioning) -->
<ItemGroup>
<PackageReference Include="MinVer" PrivateAssets="All" />
</ItemGroup>
</Project>