-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
31 lines (28 loc) · 1.34 KB
/
Copy pathDirectory.Build.props
File metadata and controls
31 lines (28 loc) · 1.34 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
<Project>
<PropertyGroup>
<LangVersion>latest</LangVersion>
<Nullable>enable</Nullable>
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<NoWarn>$(NoWarn);1591</NoWarn> <!-- Disable missing XML comment warnings -->
</PropertyGroup>
<!-- Common package metadata -->
<PropertyGroup>
<Copyright>Copyright © 2025</Copyright>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
</PropertyGroup>
<!-- Reproducible builds + SourceLink so the published package is debuggable and deterministic. -->
<PropertyGroup>
<Deterministic>true</Deterministic>
<ContinuousIntegrationBuild Condition="'$(GITHUB_ACTIONS)' == 'true'">true</ContinuousIntegrationBuild>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<!-- The package ships only the analyzer DLLs (no separate PDB/snupkg), so embed the PDB
(with its SourceLink data) into each DLL to make the shipped assemblies source-debuggable. -->
<DebugType>embedded</DebugType>
</PropertyGroup>
<ItemGroup>
<!-- 10.0.401 pulls Microsoft.Build.Tasks.Git 10.0.401, patching CVE-2026-62900 (NU1902). -->
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="10.0.401" PrivateAssets="All" />
</ItemGroup>
</Project>