In your project file add property value:
<PropertyGroup>
<DefineConstants
Condition="'$(Configuration)'=='Debug'">$(DefineConstants);MyConfig=MyDebugValue</DefineConstants>
<DefineConstants
Condition="'$(Configuration)'=='Release'">$(DefineConstants);MyConfig=MyReleaseValue</DefineConstants>
</PropertyGroup>
-----
Nir Bar
Freelance Developer
Mail: [email protected]
Web: www.panel-sw.com
- C++ On Windows, Linux and Embedded Platforms
- WiX & InstallShield
--
View this message in context:
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Setting-property-values-based-on-Visual-Studio-build-configurations-tp7599969p7599971.html
Sent from the wix-users mailing list archive at Nabble.com.
------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users