versioning: add version resources to FSD and DLL; consolidate versioning to shared.properties

This commit is contained in:
Bill Zissimopoulos
2016-04-29 00:23:55 -07:00
parent 1264cae110
commit b12e0aad47
9 changed files with 116 additions and 14 deletions

View File

@@ -1,15 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<!--
MyVersion contains the current product version. The major and minor parts should be
changed manually when appropriate. The build number is automatically calculated as
the concatenation of the year and the day of the year.
The MyVersion variable is used to compute the OutputName property in the wixproj as
well as define the MyVersion Wix preprocessor constant, which is used to set the
Version in the Product.wxs
-->
<MyVersion>0.9.$([System.DateTime]::Now.ToString(`yy`))$([System.DateTime]::Now.DayOfYear.ToString(`000`))</MyVersion>
<MyProductName>WinFsp</MyProductName>
<MyDescription>Windows File System Proxy</MyDescription>
<MyCompanyName>Navimatics Corporation</MyCompanyName>
<MyCopyright>2015-2016 Bill Zissimopoulos</MyCopyright>
<MyVersionMajor>0</MyVersionMajor>
<MyVersionMinor>9</MyVersionMinor>
<!-- build number: concat 2-digit year with 3-digit day of the year (16-bits until 2066) -->
<MyBuildNumber>$([System.DateTime]::Now.ToString(`yy`))$([System.DateTime]::Now.DayOfYear.ToString(`000`))</MyBuildNumber>
<MyVersion>$(MyVersionMajor).$(MyVersionMinor).$(MyBuildNumber)</MyVersion>
<MyVersionWithCommas>$(MyVersionMajor),$(MyVersionMinor),$(MyBuildNumber),0</MyVersionWithCommas>
</PropertyGroup>
</Project>