Repository navigation
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
56 lines (51 loc) · 3.07 KB
/
Copy pathDirectory.Build.props
File metadata and controls
56 lines (51 loc) · 3.07 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
<Project>
<PropertyGroup>
<!--
CI では、タグ(v2.0.0 など)のときはタグのバージョンを -p:Version で指定し、
それ以外は -p:VersionSuffix=ci.N でプレリリース版(2.0.0-ci.N)にする。
アセンブリのバージョンがここから決まり、PackageValidationBaselineVersion 以上である必要がある
-->
<VersionPrefix>2.1.0</VersionPrefix>
<Authors>cssho</Authors>
<Product>ZipConvertCustomerBarCode</Product>
<Copyright>Copyright (c) 2015 cssho</Copyright>
</PropertyGroup>
<!-- NuGet パッケージ -->
<PropertyGroup>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageProjectUrl>https://github.com/cssho/ZipConvertCustomerBarCode</PackageProjectUrl>
<RepositoryUrl>https://github.com/cssho/ZipConvertCustomerBarCode</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<PackageTags>customer-barcode;barcode;japan-post;postal-code;zipcode;カスタマバーコード;郵便番号</PackageTags>
<PackageReadmeFile>README.md</PackageReadmeFile>
<!-- このライブラリで描いたカスタマバーコードの先頭部分(128x128)。tools/GenerateIcon.cs で生成する -->
<PackageIcon>icon.png</PackageIcon>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<!--
パッケージ作成時に、net8.0 版が netstandard2.0 版の公開 API をすべて持っているかを確認する
(#if で net8.0 版から API が欠けるとエラー CP0002。net8.0 版にだけ API を足すのは検出しない)
-->
<EnablePackageValidation>true</EnablePackageValidation>
<!--
nuget.org に公開済みのバージョンと比べて、公開 API を削除・変更していないかも確認する
(破壊的変更をするメジャーバージョンアップでは、この基準を外すか更新する)
-->
<PackageValidationBaselineVersion>2.1.0</PackageValidationBaselineVersion>
</PropertyGroup>
<PropertyGroup Condition="'$(GITHUB_ACTIONS)' == 'true'">
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
<!--
CI では警告をエラーにする(XML ドキュメントコメントの付け忘れ CS1591 などを見逃さない)。
依存パッケージの脆弱性の警告(NU1901〜NU1904)と、脆弱性データを取得できなかったときの警告(NU1900)は、
関係のない PR まで止めないよう警告のままにする(脆弱性は Dependabot の security updates で更新の PR が出る)。
ローカルで CI と同じ確認をするときは -p:TreatWarningsAsErrors=true を付ける
-->
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<WarningsNotAsErrors>$(WarningsNotAsErrors);NU1900;NU1901;NU1902;NU1903;NU1904</WarningsNotAsErrors>
</PropertyGroup>
<ItemGroup>
<None Include="$(MSBuildThisFileDirectory)README.md" Pack="true" PackagePath="\" Visible="false" />
<None Include="$(MSBuildThisFileDirectory)icon.png" Pack="true" PackagePath="\" Visible="false" />
</ItemGroup>
</Project>