-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSmdn.Net.EchonetLite.Appendix.csproj
More file actions
66 lines (55 loc) · 2.9 KB
/
Smdn.Net.EchonetLite.Appendix.csproj
File metadata and controls
66 lines (55 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
62
63
64
65
66
<!--
SPDX-FileCopyrightText: 2018 HiroyukiSakoh
SPDX-FileCopyrightText: 2023 smdn <smdn@smdn.jp>
SPDX-License-Identifier: MIT
-->
<Project Sdk="Microsoft.NET.Sdk">
<Import Project="$(MSBuildThisFileDirectory)..\ForkedProject.props" />
<PropertyGroup>
<TargetFrameworks>netstandard2.1;net8.0;net10.0</TargetFrameworks>
<VersionPrefix>2.0.0</VersionPrefix>
<VersionSuffix>preview1</VersionSuffix>
<!-- <PackageValidationBaselineVersion>2.0.0</PackageValidationBaselineVersion> -->
</PropertyGroup>
<PropertyGroup Label="assembly attributes">
<Description>
<![CDATA[Provides the details of the class groups, device objects, and property configurations described in the "ECHONET SPECIFICATION APPENDIX Detailed Requirements for ECHONET Device objects," and provides the API for referencing them.
「ECHONET SPECIFICATION APPENDIX ECHONET 機器オブジェクト詳細規定」に記載されているクラスグループ・機器オブジェクト・プロパティ構成の定義、およびその定義を参照するためのAPIを提供します。]]>
</Description>
</PropertyGroup>
<PropertyGroup Label="package properties">
<PackageTags>ECHONET-SPECIFICATION-APPENDIX;$(PackageTags)</PackageTags>
<GenerateNupkgReadmeFileDependsOnTargets>$(GenerateNupkgReadmeFileDependsOnTargets);GenerateReadmeFileContent</GenerateNupkgReadmeFileDependsOnTargets>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="System.Text.Json" />
</ItemGroup>
<ItemGroup>
<ProjectOrPackageReference Include="$([MSBuild]::NormalizePath('$(MSBuildThisFileDirectory)..\Smdn.Net.EchonetLite.Primitives\Smdn.Net.EchonetLite.Primitives.csproj'))" />
</ItemGroup>
<ItemGroup>
<Compile Include="$(MSBuildThisFileDirectory)..\Common\Shim\System.Runtime.CompilerServices\IsExternalInit.cs"/>
</ItemGroup>
<ItemGroup>
<!--
MasterDataの各JSONファイルをEmbeddedResourceとして含める
このとき、LogicalNameはプロジェクトからの相対パスをスラッシュ区切りにしたものを使用する
-->
<EmbeddedResource
Include="$(MSBuildThisFileDirectory)\MasterData\**\*.json"
LogicalName="$([MSBuild]::MakeRelative($(MSBuildThisFileDirectory), %(FullPath)).Replace('%5C', '/'))"
/>
</ItemGroup>
<Target Name="DumpMasterDataLogicalNames" AfterTargets="Build">
<Message Text="MasterData: '%(EmbeddedResource.LogicalName)'" Importance="low"/>
</Target>
<Target Name="GenerateReadmeFileContent">
<PropertyGroup>
<PackageReadmeFileContent></issues/new/choose) or [Pull Requests]($(RepositoryUrl)/pulls/) on the [GitHub repository]($(RepositoryUrl)).
]]></PackageReadmeFileContent>
</PropertyGroup>
</Target>
</Project>