Referencing a WixVariable defined in a WiX Library Project from a WiX Setup Project
问题 I'm trying to configure a WiX setup and library so that the version of one of the files in the library is used as the Product/@Version in the setup. Background In a setup with the files defined locally this is relatively straightforward in that assuming the component project is referenced by the WiX project and then configured: <Component Id="Company.Assembly" Guid="[GUID]"> <File Id="Company.AssemblyFile" Name="Company.Assembly.dll" KeyPath="yes" DiskId="1" Source="$(var.Company.Assembly