I figured it out.  Inside my target that reads out the version, I use
a CreateProperty tag to create a property named DefinedConstants that
is the value of my version property and the existing value of
DefinedConstants.  Works really well.

On Thu, Feb 26, 2009 at 1:18 PM, Bob Arnson <b...@joyofsetup.com> wrote:
> Reggie Burnett wrote:
>> By using the warning element I can see that my RetrieveIdentities
>> target is running.  I'm trying to use my version property here
>>
>>   <PropertyGroup>
>>     <DefineConstants>Version=$(CurrentVersion)</DefineConstants>
>>     <WixVariables></WixVariables>
>>   </PropertyGroup>
>>
>> But this doesn't appear to be working.  Any ideas what I am doing wrong?
>>
>
> I think you're running into evaluation order problems. See
> http://channel9.msdn.com/wiki/msbuild/usethesametargetinmultipleprojectfiles/
> and try using /v:diag to get property/item dumps.
>
> --
> sig://boB
> http://joyofsetup.com/
>
>
>
> ------------------------------------------------------------------------------
> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
> -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
> -Strategies to boost innovation and cut costs with open source participation
> -Receive a $600 discount off the registration fee with the source code: SFAD
> http://p.sf.net/sfu/XcvMzF8H
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to