-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
50 lines (45 loc) · 2.33 KB
/
Copy pathDirectory.Build.props
File metadata and controls
50 lines (45 loc) · 2.33 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>
<!-- Shared defaults for every project in the repo. Kept central because ProcessManager ships
several assemblies (Core + one probe per platform + the helper + two front-ends + tests)
that would otherwise repeat the same TFM, nullable and authorship metadata. -->
<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
<LangVersion>latest</LangVersion>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<InvariantGlobalization>true</InvariantGlobalization>
<Deterministic>true</Deterministic>
</PropertyGroup>
<!-- PRD §2: reflection-free, trimmable, AOT-clean everywhere. The analyzers are the enforcement;
the AOT publish leg in ci.yml turns their warnings into build errors so this cannot rot. -->
<PropertyGroup>
<IsAotCompatible>true</IsAotCompatible>
<IsTrimmable>true</IsTrimmable>
<EnableTrimAnalyzer>true</EnableTrimAnalyzer>
<EnableAotAnalyzer>true</EnableAotAnalyzer>
<EnableSingleFileAnalyzer>true</EnableSingleFileAnalyzer>
</PropertyGroup>
<!-- Authorship metadata (LGPL, same as every Hawkynt repo). Deliberately NO Version here: each
project 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 project whose folder did not change therefore composes the
identical version on the next release. -->
<PropertyGroup>
<Authors>Hawkynt</Authors>
<Company>Hawkynt</Company>
<Product>ProcessManager</Product>
<Copyright>Copyright (c) Hawkynt</Copyright>
<PackageLicenseExpression>LGPL-3.0-or-later</PackageLicenseExpression>
<PackageProjectUrl>https://github.com/Hawkynt/ProcessManager</PackageProjectUrl>
<RepositoryUrl>https://github.com/Hawkynt/ProcessManager.git</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
</PropertyGroup>
<!-- Release builds ship a single clean binary: no loose PDBs next to the executables the release
workflow packages. -->
<PropertyGroup Condition="'$(Configuration)' == 'Release'">
<DebugType>none</DebugType>
<DebugSymbols>false</DebugSymbols>
<AllowedReferenceRelatedFileExtensions>none</AllowedReferenceRelatedFileExtensions>
</PropertyGroup>
</Project>