-
-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
25 lines (21 loc) · 1.12 KB
/
Copy pathDirectory.Build.props
File metadata and controls
25 lines (21 loc) · 1.12 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
<Project>
<PropertyGroup>
<!-- Deterministic builds: PE timestamps + MVIDs are derived
from the source, not wall-clock time, so two builds of
the same source produce byte-identical assemblies. -->
<Deterministic>true</Deterministic>
<!-- CI-build flag: tells the compiler to normalize source
paths in PDBs/SourceLink to the canonical committed
layout. Combined with Deterministic + the symbol
packages the nuget.yml workflow already pushes
(.snupkg), this makes the published packages bit-for-bit
reproducible from a clean checkout at the corresponding
tagged commit.
Gated on GITHUB_ACTIONS so local dev builds keep the
developer's workspace paths in PDBs (interactive
debugging works against the actual file on disk);
only the CI publish path produces canonical-path
PDBs that ship to NuGet. -->
<ContinuousIntegrationBuild Condition="'$(GITHUB_ACTIONS)' == 'true'">true</ContinuousIntegrationBuild>
</PropertyGroup>
</Project>