-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSmdn.MSBuild.DefineConstants.NETSdkApi.csproj
45 lines (36 loc) · 1.82 KB
/
Smdn.MSBuild.DefineConstants.NETSdkApi.csproj
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
<!--
SPDX-FileCopyrightText: 2022 smdn <smdn@smdn.jp>
SPDX-License-Identifier: MIT
-->
<Project Sdk="Microsoft.NET.Sdk">
<!-- target 'Compile' is required to generate API list -->
<Import Project="$(MSBuildThisFileDirectory)..\..\eng\ProjectSettings.NoAssemblies.props" />
<PropertyGroup>
<TargetFramework>netstandard1.6</TargetFramework>
<VersionPrefix>1.5.1</VersionPrefix>
<VersionSuffix></VersionSuffix>
<DevelopmentDependency>true</DevelopmentDependency>
</PropertyGroup>
<!-- supress recursive package reference -->
<ItemGroup>
<PackageReference Remove="$(AssemblyName)" />
</ItemGroup>
<PropertyGroup Label="assembly attributes">
<Description>A package of .targets files to add DefineConstants corresponding to .NET SDK's API catalog.</Description>
<CopyrightYear>2022</CopyrightYear>
</PropertyGroup>
<PropertyGroup Label="package properties">
<PackageTags>MSBuild;DefineConstants;targets;build-assets</PackageTags>
<PackageReadmeFileContent><![CDATA[# $(AssemblyName)-$(VersionPrefix)
$(Description)
This package defines the build time symbols such as `SYSTEM_ARRAY_EMPTY`, according to the target framework that the corresponding APIs are available.
## Notes for the projects targeting the .NET Framework
The symbols defined in this package assume that the target framework is used in a project with .NET Framework 4.5 or later.
As an example, the symbol `SYSTEM_ENUM_PARSE_OF_TENUM` corresponding to `System.Enum.TryParse<TEnum>()`, which is available on .NET Framework 4.0 and later, is assumed to be available on all versions of .NET Framework.
]]></PackageReadmeFileContent>
</PropertyGroup>
<ItemGroup>
<None Pack="false" Include="build\**" Visible="true" />
<None Pack="true" Include="build\$(AssemblyName).targets" PackagePath="build\" />
</ItemGroup>
</Project>