forked from gfoidl/trx2junit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Directory.Build.props
26 lines (22 loc) · 1.28 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
<Project>
<PropertyGroup>
<VersionMajor Condition="'$(VersionMajor)' == ''">0</VersionMajor>
<VersionMinor Condition="'$(VersionMinor)' == ''">2</VersionMinor>
<VersionPatch Condition="'$(VersionPatch)' == ''">0</VersionPatch>
<BuildNumber Condition="'$(BuildNumber)' == ''">8</BuildNumber>
<VersionSuffix Condition="'$(Configuration)' == 'Debug' and '$(VersionSuffix)' == ''">dev</VersionSuffix>
<Authors>gfoidl</Authors>
<Company>Foidl Günther</Company>
<Product>trx2junit</Product>
<Copyright>Copyright © Foidl Günther 2017-2018</Copyright>
<VersionPrefix>$(VersionMajor).$(VersionMinor).$(VersionPatch)</VersionPrefix>
<AssemblyVersion>$(VersionMajor).$(VersionMinor).$(BuildNumber).$(VersionPatch)</AssemblyVersion>
</PropertyGroup>
<PropertyGroup>
<PackageOutputPath>$(MSBuildThisFileDirectory)NuGet-Packed</PackageOutputPath>
</PropertyGroup>
<Target Name="VersionInfo" BeforeTargets="BeforeBuild">
<Message Importance="high" Text="$(MSBuildProjectName) BuildNumber: $(BuildNumber) --> Version: $(Version), AssemblyVersion: $(AssemblyVersion)" />
<Message Importance="high" Text=" " Condition="'$(Configuration)' == 'Debug'" />
</Target>
</Project>