Repository navigation
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
50 lines (41 loc) · 2.17 KB
/
Copy pathDirectory.Build.props
File metadata and controls
50 lines (41 loc) · 2.17 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
40
41
42
43
44
45
46
47
48
49
50
<Project>
<PropertyGroup>
<!-- Centralized version for all Facet packages -->
<Version>6.7.0</Version>
<!-- Common package properties -->
<Authors>Tim Maes</Authors>
<RepositoryUrl>https://github.com/Tim-Maes/Facet</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<LangVersion>latest</LangVersion>
<Nullable>enable</Nullable>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<!-- Common build properties for packable projects -->
<IsPackable Condition="'$(IsPackable)' == ''">false</IsPackable>
<!-- NOTE: Use 'dotnet pack -c Release' instead of GeneratePackageOnBuild to ensure symbols are properly included in .snupkg files -->
<!-- <GeneratePackageOnBuild Condition="'$(IsPackable)' == 'true'">true</GeneratePackageOnBuild> -->
<!-- Suppress CS1591: Missing XML comment for publicly visible type or member. -->
<NoWarn>$(NoWarn);1591</NoWarn>
</PropertyGroup>
<!-- SourceLink configuration for debugging support -->
<PropertyGroup Condition="'$(IsPackable)' == 'true'">
<!-- Enable SourceLink for packages -->
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<!-- Portable PDB for separate symbol packages -->
<DebugType>portable</DebugType>
<DebugSymbols>true</DebugSymbols>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<!-- Enable deterministic builds for packable projects (required for proper SourceLink) -->
<Deterministic>true</Deterministic>
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
<!-- Additional properties for symbol packages -->
<EnableSourceLink>true</EnableSourceLink>
<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
</PropertyGroup>
<!-- SourceLink package references for packable projects -->
<ItemGroup Condition="'$(IsPackable)' == 'true'">
<PackageReference Include="Microsoft.SourceLink.GitHub" PrivateAssets="All" />
</ItemGroup>
</Project>