-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathDirectory.Build.props
65 lines (53 loc) · 2.74 KB
/
Directory.Build.props
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
<Project>
<PropertyGroup>
<Deterministic>true</Deterministic>
<Version>5.0.1</Version>
<Authors>Jean-Pierre Bachmann</Authors>
<Company>Jean-Pierre Bachmann</Company>
<PackageProjectUrl>https://github.com/JPVenson/morestachio</PackageProjectUrl>
<PackageIconUrl>https://github.com/JPVenson/morestachio/raw/master/Morestachio/Morestachio%20248x248.png?raw=true</PackageIconUrl>
<RepositoryUrl>https://github.com/JPVenson/morestachio</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<PackageReleaseNotes>See full changelog at https://github.com/JPVenson/morestachio/releases</PackageReleaseNotes>
<LangVersion>Latest</LangVersion>
<!-- Optional: Publish the repository URL in the built .nupkg (in the NuSpec <Repository> element) -->
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<!-- Optional: Embed source files that are not tracked by the source control manager in the PDB -->
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<!-- Optional: Build symbol package (.snupkg) to distribute the PDB containing Source Link -->
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
<SupportedFrameworks>net462;net47;net471;net472;net6.0;net7.0;net8.0;</SupportedFrameworks>
</PropertyGroup>
<!--Enable Deterministic Builds-->
<PropertyGroup Condition="'$(TF_BUILD)' == 'true'">
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
</PropertyGroup>
<!--For source link github reference-->
<ItemGroup>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" PrivateAssets="All" />
</ItemGroup>
<ItemGroup>
<None Include="..\Morestachio\Morestachio.png">
<Pack>True</Pack>
<PackagePath></PackagePath>
</None>
</ItemGroup>
<PropertyGroup Condition="'$(TargetFramework)' == 'netcoreapp2.1'">
<DefineConstants>ValueTask; ArrayPool</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition="'$(TargetFramework)' == 'netcoreapp2.2'">
<DefineConstants>ValueTask; ArrayPool</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition="'$(TargetFramework)' == 'netcoreapp2.0'">
<DefineConstants>ArrayPool</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition="'$(TargetFramework)' == 'netcoreapp3.0'">
<DefineConstants>ValueTask; ValueTaskFromResult; ArrayPool</DefineConstants>
</PropertyGroup>
<PropertyGroup
Condition="'$(TargetFramework)' == 'netcoreapp3.1' or '$(TargetFramework)' == 'netstandard2.1' or $(TargetFramework) == 'net5.0' or $(TargetFramework) == 'net6.0'">
<DefineConstants>ValueTask; ValueTaskFromResult; Span; ArrayPool</DefineConstants>
</PropertyGroup>
</Project>