Hi, I am trying to pass in some preprocessor properties from msbuild using the "DefineConstants" property defined in WixProj.
<PropertyGroup> <DefineConstants_ESC>a=val1;b=val2;c=val3</DefineConstants_ESC> </PropertyGroup> <MSBuild Properties="DefineConstants=$(DefineConstants_ESC);" Projects="MywixProject.wixproj" Targets="Build" /> 1. If I don't escape the ";", then following properties are passed to wixproj (note that b & c are new properties) DefineConstants=a=val1 b=val2 c=val3 2. If I escape the ";" (%3b) DefineCOnstants=a=val1%3bb=val2%3bc=val3 (goes correctly to project file) BUT it is passed as one single property override to Candle.exe (with a="val1;b=val2;c=val3") Candle.exe /p:a=val1;b=val2;c=val3 Am I doing something wrong? Is there workaround? -- View this message in context: http://n2.nabble.com/DefineConstants-and-msbuild-tp1438618p1438618.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users