-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
29 lines (27 loc) · 1007 Bytes
/
Directory.Build.props
File metadata and controls
29 lines (27 loc) · 1007 Bytes
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
<Project>
<PropertyGroup>
<MsBuildAllProjects>$(MsBuildAllProjects);$(MsBuildThisFileFullPath)</MsBuildAllProjects>
</PropertyGroup>
<PropertyGroup>
<!-- edit this value to change the current MAJOR.MINOR version -->
<VersionPrefix>0.1</VersionPrefix>
<Authors>Simon Martyr;</Authors>
<Company>Finaps B.V.</Company>
<TargetFramework>netstandard2.0</TargetFramework>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
</PropertyGroup>
<Choose>
<When Condition=" '$(Prerelease)' != '' ">
<PropertyGroup>
<!-- Prerelease version numbers are MAJOR.MINOR.0-pre-build###### -->
<VersionSuffix>$(Prerelease)-build$(BUILD_BUILDID.PadLeft(6, '0'))</VersionSuffix>
</PropertyGroup>
</When>
<Otherwise>
<PropertyGroup>
<!-- Release version numbers are MAJOR.MINOR.# -->
<VersionPrefix>$(VersionPrefix).$(BUILD_BUILDID.PadLeft(1, '0'))</VersionPrefix>
</PropertyGroup>
</Otherwise>
</Choose>
</Project>