-
Notifications
You must be signed in to change notification settings - Fork 0
/
Directory.Build.props
27 lines (23 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
27
<Project>
<Import Project="dependencies.props" />
<PropertyGroup>
<LangVersion>latest</LangVersion>
</PropertyGroup>
<PropertyGroup>
<VersionMajor Condition="'$(VersionMajor)' == ''">1</VersionMajor>
<VersionMinor Condition="'$(VersionMinor)' == ''">1</VersionMinor>
<VersionPatch Condition="'$(VersionPatch)' == ''">0</VersionPatch>
<BuildNumber Condition="'$(BuildNumber)' == ''">207</BuildNumber>
<VersionSuffix Condition="'$(Configuration)' == 'Debug' and '$(VersionSuffix)' == ''">dev</VersionSuffix>
<Authors>gfoidl</Authors>
<Company>Foidl Günther</Company>
<Product>gfoidl.Stochastics</Product>
<Copyright>Copyright © Foidl Günther 2017-2019</Copyright>
<VersionPrefix>$(VersionMajor).$(VersionMinor).$(VersionPatch)</VersionPrefix>
<AssemblyVersion>$(VersionMajor).$(VersionMinor).$(BuildNumber).$(VersionPatch)</AssemblyVersion>
</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>