If I run Candle from the command line, I can set an environmental variable 
to the contents of the file containing my project version number:

set/p ProjectVersion=<version.txt

I can then use refer to it as $(env.ProjectVersion) in the Candle source 
file. However, I have not found a way to do the same in Visual Studio 2010. 
Environmental variables set in a pre-build event do not seem to show up. Is 
there an alternative? 



------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to