Skip to content

Commit

Permalink
Merge pull request #45 from tmat/V3
Browse files Browse the repository at this point in the history
Add Vsix version to toolset Version.props
  • Loading branch information
tmat authored Jan 3, 2017
2 parents b903314 + 6b2639c commit 5a9b9e9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion build/Toolset/Version.props
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,17 @@
Defines the following properties:
BuildVersion
NuGetVersion
VsixVersion
-->
-->

<Choose>
<When Condition="$(BUILD_BUILDNUMBER) == ''">
<PropertyGroup>
<NuGetMoniker>dev</NuGetMoniker>
<NuGetVersionSuffix>dev</NuGetVersionSuffix>
<BuildVersion>$(AssemblyVersion).0</BuildVersion>
<VsixVersion>$(AssemblyVersion).9000000</VsixVersion>
</PropertyGroup>
</When>

Expand All @@ -28,6 +30,7 @@
<BuildNumberBuildOfTheDayPadded>$(BUILD_BUILDNUMBER.Split('.')[1].PadLeft(2,'0'))</BuildNumberBuildOfTheDayPadded>
<NuGetVersionSuffix>$(NuGetMoniker)-$(BuildNumberFiveDigitDateStamp)-$(BuildNumberBuildOfTheDayPadded)</NuGetVersionSuffix>
<BuildVersion>$(AssemblyVersion).$(BuildNumberFiveDigitDateStamp)</BuildVersion>
<VsixVersion>$(AssemblyVersion).$(BuildNumberFiveDigitDateStamp)$(BuildNumberBuildOfTheDayPadded)</VsixVersion>
</PropertyGroup>
</Otherwise>
</Choose>
Expand Down

0 comments on commit 5a9b9e9

Please sign in to comment.