-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
15 lines (15 loc) · 871 Bytes
/
Directory.Build.props
File metadata and controls
15 lines (15 loc) · 871 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<Project>
<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
<AnalysisLevel>latest-recommended</AnalysisLevel>
<!-- Suppress code analysis warnings that are stylistic rather than functional -->
<!-- CA1816 (correctness: GC.SuppressFinalize) is enforced — do NOT add it back here.
CA1848/CA1873 are perf/style rules (LoggerMessage delegate pattern); suppressed as tech debt.
TODO: Migrate logger calls to [LoggerMessage] source-generated delegates to resolve CA1848/CA1873. -->
<NoWarn>$(NoWarn);CA1716;CA1805;CA1510;CA1822;CA1710;CA1848;CA1873;CA2208;CA1304;CA1305;CA1311;CA1869;ASPDEPR002</NoWarn>
</PropertyGroup>
</Project>