forked from dotnetcore/WTM
-
Notifications
You must be signed in to change notification settings - Fork 0
/
version.props
30 lines (24 loc) · 1.46 KB
/
version.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
<Project>
<PropertyGroup>
<VersionPrefix>2.4.5</VersionPrefix>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
<!--
-alpha: Alpha 版本,通常用于开发过程和试验。
-beta: Beta 版本,通常指可用于下一计划版本的功能完整的版本,但可能包含已知 bug。
-rc: 候选发布,通常可能为最终(稳定)版本,除非出现重大 bug。
-->
<VersionSuffix Condition="'$(VersionSuffix)' == ''">alpha</VersionSuffix>
<FileVersion Condition="'$(Build_BuildNumber)' != ''">$(VersionPrefix).$(Build_BuildNumber)</FileVersion>
<FileVersion>$(VersionPrefix)</FileVersion>
<Version Condition="'$(VersionSuffix)' != '' AND '$(Build_BuildNumber)' != ''">$(VersionPrefix)-$(VersionSuffix)-$(Build_BuildNumber)</Version>
<Version Condition="'$(VersionSuffix)' == '' AND '$(Build_BuildNumber)' == ''">$(VersionPrefix)</Version>
<PackageVersion Condition="'$(VersionSuffix)' != '' AND '$(Build_BuildNumber)' != ''">$(VersionPrefix)-$(VersionSuffix)-$(Build_BuildNumber)</PackageVersion>
<PackageVersion Condition="'$(VersionSuffix)' == ''">$(VersionPrefix)</PackageVersion>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
<FileVersion>$(VersionPrefix)</FileVersion>
<Version>$(VersionPrefix)</Version>
<PackageVersion>$(VersionPrefix)</PackageVersion>
</PropertyGroup>
</Project>