Repository navigation
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
61 lines (52 loc) · 2.9 KB
/
Copy pathDirectory.Build.props
File metadata and controls
61 lines (52 loc) · 2.9 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
59
60
61
<Project>
<PropertyGroup>
<Version>1.0.1</Version>
<Authors>CaffeinatedCoder</Authors>
<Copyright>Copyright (c) 2026 CaffeinatedCoder</Copyright>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageReleaseNotes>https://github.com/CaffeinatedCoder/CodoMetis.TypeKit/blob/main/CHANGELOG.md</PackageReleaseNotes>
<PackageProjectUrl>https://github.com/CaffeinatedCoder/CodoMetis.TypeKit</PackageProjectUrl>
<RepositoryUrl>https://github.com/CaffeinatedCoder/CodoMetis.TypeKit</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<TargetFramework>net10.0</TargetFramework>
<LangVersion>14</LangVersion>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
</PropertyGroup>
<!--
Warnings are errors, with one carve-out, as in the sibling repositories.
CS1591 (missing XML comment) polices the public surface: the shipped .xml is what a consumer
sees in IntelliSense. Test projects opt out in test/Directory.Build.props; nothing else is
exempt.
NU1901-NU1904 stay warnings. They report a vulnerable package, so as errors they would make
the build depend on advisories published upstream rather than on this commit. They stay
visible, which is why they are exempted rather than suppressed with NoWarn.
-->
<PropertyGroup>
<WarningsNotAsErrors>NU1901;NU1902;NU1903;NU1904</WarningsNotAsErrors>
</PropertyGroup>
<!--
Package validation compares every pack with the last release on nuget.org, so ApiCompat
fails a pack that breaks the public surface of 1.0.0. The baseline moves to each release as it
ships (CONTRIBUTING.md, "Releasing", step 4); a major version is the only one allowed to break it.
GeneratePackageOnBuild is deliberately NOT set: it silently turns `dotnet pack` into a
no-build pack of whatever happens to be in bin/ (see CodoMetis.ValueRanges).
-->
<PropertyGroup>
<EnablePackageValidation>true</EnablePackageValidation>
<PackageValidationBaselineVersion>1.0.0</PackageValidationBaselineVersion>
</PropertyGroup>
<!-- Provenance: a consumer stepping into this code gets the exact source it is running. -->
<PropertyGroup>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
</PropertyGroup>
<!-- CI only: normalized source paths for a reproducible build; breaks local step-into. -->
<PropertyGroup Condition="'$(CI)' == 'true' or '$(CI)' == '1'">
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
</PropertyGroup>
</Project>