Repository navigation
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
58 lines (54 loc) · 2.36 KB
/
Copy pathDirectory.Build.props
File metadata and controls
58 lines (54 loc) · 2.36 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
51
52
53
54
55
56
57
58
<Project>
<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
<LangVersion>latest</LangVersion>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
<AnalysisLevel>latest-recommended</AnalysisLevel>
<RestorePackagesWithLockFile>true</RestorePackagesWithLockFile>
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
</PropertyGroup>
<!--
Disambiguate IviCli.Domain.Timeout from System.Threading.Timeout, which is
pulled in implicitly via the System.Threading global using. The alias makes
`Timeout` unambiguously refer to the domain Value Object.
-->
<ItemGroup Label="Global type aliases">
<Using Include="IviCli.Domain.Timeout" Alias="Timeout" />
</ItemGroup>
<!--
NuGet Package Explorer's health check reads the PDBs: without
ContinuousIntegrationBuild the compiler records the runner's absolute
source paths (/home/runner/work/...), the build is not reproducible
bit-for-bit, and the package shows "Non deterministic". The flag maps
every source path to /_/ via SourceLink. CI-only on purpose — locally
it would break stepping into sources under a debugger.
-->
<PropertyGroup Label="Reproducible CI builds" Condition="'$(GITHUB_ACTIONS)' == 'true'">
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
</PropertyGroup>
<PropertyGroup Label="SourceLink">
<EmbedUntrackedSources>true</EmbedUntrackedSources>
</PropertyGroup>
<PropertyGroup Label="Assembly metadata">
<Authors>ivi-cli contributors</Authors>
<Product>IVI-CLI</Product>
<Company>ivi-cli</Company>
<Copyright>Copyright (c) ivi-cli contributors</Copyright>
<NeutralLanguage>en</NeutralLanguage>
<!--
Dual-licensed MIT OR Apache-2.0 (SPDX expression). Consumers pick
either at their option; LICENSE-MIT and LICENSE-APACHE live at the
repository root. Recorded in ADR 0046.
-->
<PackageLicenseExpression>MIT OR Apache-2.0</PackageLicenseExpression>
<!--
Default version for local builds. release.yml overrides this via
`-p:Version=<X.Y.Z>` derived from the pushed `v*` tag, so the
published nupkg / binary metadata matches the GitHub Release.
-->
<Version>0.4.0</Version>
</PropertyGroup>
</Project>