-
-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathDirectory.Build.targets
More file actions
28 lines (22 loc) · 1.03 KB
/
Directory.Build.targets
File metadata and controls
28 lines (22 loc) · 1.03 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
<Project>
<!-- Packaging and symbol standards for library projects -->
<ItemGroup Condition="'$(IsPackable)' == 'true'">
<!-- Enable SourceLink for GitHub -->
<PackageReference Include="Microsoft.SourceLink.GitHub" PrivateAssets="All" />
</ItemGroup>
<PropertyGroup Condition="'$(IsPackable)' == 'true'">
<!-- Symbol package format -->
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<IncludeSymbols>true</IncludeSymbols>
<!-- Source embedding -->
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<!-- Repository metadata -->
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<RepositoryType>git</RepositoryType>
<!-- Build determinism for reproducible builds -->
<Deterministic>true</Deterministic>
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
<!-- Enable package validation (API compatibility checks) -->
<EnablePackageValidation>true</EnablePackageValidation>
</PropertyGroup>
</Project>