Skip to content

Commit

Permalink
Merge pull request #815 from 333fred/update-assembly-version
Browse files Browse the repository at this point in the history
Update the assembly version with every nightly build. Fixes #488.
  • Loading branch information
333fred authored Feb 4, 2017
2 parents e473d8d + 26db4d3 commit c12e50e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Common.props
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@
<!-- Prepare assembly metadata -->
<Authors>Microsoft Corporation</Authors>
<Copyright>© Microsoft Corporation. All rights reserved.</Copyright>
<AssemblyVersion>$(VersionPrefix).0</AssemblyVersion>
<AssemblyVersion Condition="'$(BUILD_BUILDNUMBER)' == ''">$(VersionPrefix).0</AssemblyVersion>
<AssemblyVersion Condition="'$(BUILD_BUILDNUMBER)' != ''">$(VersionPrefix).$([MSBuild]::Subtract($(BuildNumberPart1), $(BuildEpoch)))</AssemblyVersion>
<FileVersion Condition="'$(BUILD_BUILDNUMBER)' == ''">$(VersionPrefix).0</FileVersion>
<FileVersion Condition="'$(BUILD_BUILDNUMBER)' != ''">$(VersionPrefix).$([MSBuild]::Subtract($(BuildNumberPart1), $(BuildEpoch)))</FileVersion>
<InformationalVersion>$(VersionPrefix).$(BuildNumber)</InformationalVersion>
Expand Down

0 comments on commit c12e50e

Please sign in to comment.