-
Notifications
You must be signed in to change notification settings - Fork 0
/
Directory.Build.props
38 lines (34 loc) · 1.71 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
<Project>
<!-- Recursively import the Directory.Build.targets file from the parent folder if it exists. -->
<PropertyGroup>
<ParentProject>$([MSBuild]::GetPathOfFileAbove('$(MSBuildThisFile)', '$(MSBuildThisFileDirectory)../'))</ParentProject>
</PropertyGroup>
<Import Project="$(ParentProject)" Condition=" '$(ParentProject)' != '' " />
<PropertyGroup>
<Authors>Graham Watts</Authors>
<Description>Delegating handler that can be used to inspect or transform HttpRequestMessage and HttpResponseMessage instances in an HttpClient pipeline.</Description>
<CopyrightStartYear>2019</CopyrightStartYear>
<PackageProjectUrl>https://github.com/wazzamatazz/HttpRequestTransformer</PackageProjectUrl>
<PackageOutputPath>$(MSBuildThisFileDirectory)artifacts</PackageOutputPath>
<MajorVersion>2</MajorVersion>
<MinorVersion>2</MinorVersion>
<PatchVersion>0</PatchVersion>
<RevisionVersion>0</RevisionVersion>
<Version>$(MajorVersion).$(MinorVersion).$(PatchVersion)</Version>
<AssemblyVersion>$(MajorVersion).$(MinorVersion).0.0</AssemblyVersion>
<AssemblyFileVersion>$(MajorVersion).$(MinorVersion).$(PatchVersion).$(RevisionVersion)</AssemblyFileVersion>
</PropertyGroup>
<!-- Set the copyright notice based on the current year at build time. -->
<Choose>
<When Condition=" '$([System.DateTime]::Now.Year)' > '$(CopyrightStartYear)' ">
<PropertyGroup>
<Copyright>Copyright © $(CopyrightStartYear)-$([System.DateTime]::Now.Year) $(Authors)</Copyright>
</PropertyGroup>
</When>
<Otherwise>
<PropertyGroup>
<Copyright>Copyright © $(CopyrightStartYear) $(Authors)</Copyright>
</PropertyGroup>
</Otherwise>
</Choose>
</Project>