Repository navigation
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
39 lines (34 loc) · 1.6 KB
/
Copy pathDirectory.Build.props
File metadata and controls
39 lines (34 loc) · 1.6 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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<Project>
<PropertyGroup>
<TargetLatestRuntimePatch>true</TargetLatestRuntimePatch>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<LangVersion>latest</LangVersion>
<Deterministic>true</Deterministic>
<NeutralLanguage>en-US</NeutralLanguage>
<GenerateDocumentationFile>false</GenerateDocumentationFile>
<NoWarn>$(NoWarn);CS1591</NoWarn>
<Company>ax206display</Company>
<Product>ax206display</Product>
<!-- Build hardening (see docs' security-audit follow-up) -->
<EnableNETAnalyzers>true</EnableNETAnalyzers>
<AnalysisLevel>latest-recommended</AnalysisLevel>
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<!-- Intel CET shadow-stack support in the generated apphost (net7+, Windows only; a no-op elsewhere). -->
<CetCompat>true</CetCompat>
<ContinuousIntegrationBuild Condition="'$(CI)' == 'true'">true</ContinuousIntegrationBuild>
<!-- Dependency integrity: pin the full resolved graph (including
transitive packages), not just the direct versions already pinned in
Directory.Packages.props, and audit it against known CVEs. -->
<RestorePackagesWithLockFile>true</RestorePackagesWithLockFile>
<NuGetAudit>true</NuGetAudit>
<NuGetAuditMode>all</NuGetAuditMode>
<NuGetAuditLevel>moderate</NuGetAuditLevel>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)'=='Release'">
<!-- Symbol stripping: don't ship PDBs in Release output. -->
<DebugType>none</DebugType>
<Optimize>true</Optimize>
</PropertyGroup>
</Project>