Razor/version.props

25 строки
1.6 KiB
Plaintext
Исходник Обычный вид История

2018-01-25 02:50:37 +03:00
<Project>
<PropertyGroup>
<VersionPrefix>2.1.0</VersionPrefix>
2018-01-25 02:50:37 +03:00
<VersionSuffix>preview2</VersionSuffix>
<PackageVersion Condition="'$(IsFinalBuild)' == 'true' AND '$(VersionSuffix)' == 'rtm' ">$(VersionPrefix)</PackageVersion>
<PackageVersion Condition="'$(IsFinalBuild)' == 'true' AND '$(VersionSuffix)' != 'rtm' ">$(VersionPrefix)-$(VersionSuffix)-final</PackageVersion>
<BuildNumber Condition="'$(BuildNumber)' == ''">t000</BuildNumber>
<VersionSuffix Condition="'$(VersionSuffix)' != '' And '$(FeatureBranchVersionSuffix)' != ''">$(VersionSuffix)-$([System.Text.RegularExpressions.Regex]::Replace('$(FeatureBranchVersionSuffix)', '[^\w-]', '-'))</VersionSuffix>
<VersionSuffix Condition="'$(VersionSuffix)' != '' And '$(BuildNumber)' != ''">$(VersionSuffix)-$(BuildNumber)</VersionSuffix>
<!-- VS for Mac does not like letters in package versions -->
<AddinBuildNumber Condition="'$(BuildNumber)' == 't000'">99999</AddinBuildNumber>
<AddinBuildNumber Condition="'$(AddinBuildNumber)' == ''">$(BuildNumber)</AddinBuildNumber>
<!-- Properties for VS for Mac addin -->
<!--
When changing the VSForMacVersion you must also update the following locations:
1. tooling/Microsoft.VisualStudio.Mac.RazorAddin/RazorAddin.cs Version property
2. MonoDevelop.Core and MonoDevelop.Ide version properties in tooling\Microsoft.VisualStudio.Mac.RazorAddin\Properties\_Manifest.addin.xml
-->
<VSForMacVersion>7.5.0</VSForMacVersion>
<AddinVersion>$(VSForMacVersion).$(AddinBuildNumber)</AddinVersion>
</PropertyGroup>
</Project>