-
Notifications
You must be signed in to change notification settings - Fork 3
/
Directory.Build.props
42 lines (37 loc) · 1.43 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
<Project>
<PropertyGroup>
<LangVersion>8.0</LangVersion>
<Nullable>enable</Nullable>
<Authors>Intelligent Plant</Authors>
<Company>Intelligent Plant Ltd.</Company>
<PackageProjectUrl>https://github.com/intelligentplant/ProblemDetails.WebApi</PackageProjectUrl>
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
<PackageOutputPath>$(MSBuildThisFileDirectory)artifacts\packages\$(Configuration)</PackageOutputPath>
<NeutralLanguage>en</NeutralLanguage>
<Version>4.0.0</Version>
</PropertyGroup>
<Choose>
<When Condition=" $([System.DateTime]::UtcNow.Year) > 2020 ">
<PropertyGroup>
<Copyright>Copyright © 2020-$([System.DateTime]::UtcNow.Year) $(Company)</Copyright>
</PropertyGroup>
</When>
<Otherwise>
<PropertyGroup>
<Copyright>Copyright © 2020 $(Company)</Copyright>
</PropertyGroup>
</Otherwise>
</Choose>
<PropertyGroup>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
</ItemGroup>
</Project>