Sorry, my bad. Looks like I overrode the DefineConstants property from the msbuild command line and neglected to include "Debug" in the new value.
Regards, Ron -----Original Message----- From: Bob Arnson [mailto:b...@joyofsetup.com] Sent: Wednesday, March 24, 2010 10:05 PM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Debug symbol undefined when building using MSbuild On 3/24/2010 2:03 PM, Inbar, Ron wrote: > The Server and Client configurations are distinguishable by the definition of > a preprocessor variable named "Server" through the Build tab in the project > property sheet. > My nightly build generates all four MSIs using MSBuild. Recently I noticed > that the Debug and Release MSIs are exactly the same. I.e. stuff that I > tried to exclude using<?ifndef Debug?> was in fact included in the Debug > packages. However,<?ifdef Server?> directives behave as expected, i.e. the > Server and Client MSIs differ in all the required aspects. > Wix.targets doesn't automatically define that symbol as a preprocessor variable; however, it does define the Configuration variable. -- sig://boB http://joyofsetup.com/ ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users The information contained in this message may be confidential and legally protected under applicable law. The message is intended solely for the addressee(s). If you are not the intended recipient, you are hereby notified that any use, forwarding, dissemination, or reproduction of this message is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender by return e-mail and destroy all copies of the original message. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users