How can I define Wix properties and values that change depending on which Visual Studio configuration is active? e.g. For our release build, var x = 1 and for the export build,
I am using WiX 3.10 and $(var.Configuration) just worked for me.
$(var.Configuration)