[wix-users] unable to make AssemblyFileVersion work
Rob Mensching
rob at firegiant.com
Thu Jan 21 16:38:03 PST 2016
That is not necessarily true: " Product/@Version needs to exist prior to compile time ". Bind variables should flow through correctly (although some things don't always like them, like the v1 SwidTag extension would get confused).
_____________________________________________________________
Short replies here. Complete answers over there: http://www.firegiant.com/
-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Phill Hogland
Sent: Thursday, January 21, 2016 2:37 PM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Subject: Re: [wix-users] unable to make AssemblyFileVersion work
Another observation is that Product/@Version needs to exist prior to compile time so the compiler can use the version number. A named bindpath variable as you defined it is only resolved in the binding phase after linking. I use MSBuild to get/generate the version string and either have MSBuild generate a .wxi file or use a MSBuild property with a -d Comipler Tool Setting
-dPreprocessorVar="$(MSBuildProperty)"
To define a preprocessor var to be used as $(var. PreprocessorVar)
More information about the wix-users
mailing list