Repository navigation
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
36 lines (33 loc) · 2.17 KB
/
Copy pathDirectory.Build.props
File metadata and controls
36 lines (33 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
<Project>
<PropertyGroup>
<!-- THE version for this repo, and the only place it is written. CI reads it back
(dotnet msbuild -getProperty:VersionMajorMinor) and appends the run number, so a release
bump is this one line. 1.0 is P1 of docs/plans/serial-lib.md in tianwen (the managed backend);
1.1 adds a read with no deadline (Timeout.InfiniteTimeSpan), which TianWen's token-bounded reads need. -->
<VersionMajorMinor>1.2</VersionMajorMinor>
<!-- Local builds get Major.Minor.0; CI passes -p:Version=Major.Minor.<run><attempt>+<sha>, and
the condition lets it win. -->
<VersionPrefix Condition="'$(VersionPrefix)' == ''">$(VersionMajorMinor).0</VersionPrefix>
<Deterministic>true</Deterministic>
<ContinuousIntegrationBuild Condition="'$(GITHUB_ACTIONS)' == 'true'">true</ContinuousIntegrationBuild>
<LangVersion>latest</LangVersion>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
<PropertyGroup>
<CreateHardLinksForCopyLocalIfPossible>true</CreateHardLinksForCopyLocalIfPossible>
<CreateHardLinksForCopyFilesToOutputDirectoryIfPossible>true</CreateHardLinksForCopyFilesToOutputDirectoryIfPossible>
<CreateHardLinksForCopyAdditionalFilesIfPossible>true</CreateHardLinksForCopyAdditionalFilesIfPossible>
<CreateHardLinksForAdditionalFilesIfPossible>true</CreateHardLinksForAdditionalFilesIfPossible>
<CreateHardLinksForPublishFilesIfPossible>true</CreateHardLinksForPublishFilesIfPossible>
</PropertyGroup>
<PropertyGroup>
<!-- Ship the /// comments in the package so consumers get IntelliSense. Keyed on the name
rather than IsPackable, which test projects set in their own csproj, after this file is
read. CS1591 (public member without a comment) and CS1573 (a parameter without a
<param> when its siblings have one) are silenced: the point is to ship the docs that
exist, not to demand them everywhere. Broken crefs and paramrefs still warn. -->
<GenerateDocumentationFile Condition="!$(MSBuildProjectName.EndsWith('.Tests'))">true</GenerateDocumentationFile>
<NoWarn>$(NoWarn);CS1591;CS1573</NoWarn>
</PropertyGroup>
</Project>