-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
42 lines (38 loc) · 2.02 KB
/
Copy pathDirectory.Build.props
File metadata and controls
42 lines (38 loc) · 2.02 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
<Project>
<!-- Shared defaults for every project in the repo. Central so the TFM, nullable and packaging
metadata are declared once. Rename ProjectName below and adjust the TargetFramework to the
one this repo targets. -->
<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
<LangVersion>latest</LangVersion>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<InvariantGlobalization>true</InvariantGlobalization>
<Deterministic>true</Deterministic>
</PropertyGroup>
<!-- Package / authorship metadata (LGPL, same as every Hawkynt repo). Deliberately NO <Version>
here: each shipping package declares its own MAJOR.MINOR.PATCH in its own csproj, and
.github/workflows/scripts/version.pl (stamp mode) appends the commit count of THAT project's
folder as the BUILD field. A package whose folder did not change therefore composes the
identical version on the next release, so a push with --skip-duplicate re-uses what is already
published instead of republishing everything. -->
<PropertyGroup>
<Authors>Hawkynt</Authors>
<Company>Hawkynt</Company>
<Product>ProjectName</Product>
<Copyright>Copyright (c) Hawkynt</Copyright>
<PackageLicenseExpression>LGPL-3.0-or-later</PackageLicenseExpression>
<PackageProjectUrl>https://github.com/Hawkynt/ProjectName</PackageProjectUrl>
<RepositoryUrl>https://github.com/Hawkynt/ProjectName.git</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
</PropertyGroup>
<!-- Release builds ship a single clean binary: no loose PDBs, symbols embedded nowhere, so a
single-file publish stays a SINGLE executable. Debug builds keep symbols, so tests are
unaffected. NuGet packages that ship a .snupkg override this back to portable PDBs in their
own csproj. -->
<PropertyGroup Condition="'$(Configuration)' == 'Release'">
<DebugType>none</DebugType>
<DebugSymbols>false</DebugSymbols>
</PropertyGroup>
</Project>