I have a VS2012 solution with 3 build configurations:
In Configuration Manager, I have some .NET projects with parameters based on Mine configuration. Everything is fine.
I have a WiX installation project which, in Configuration Manager, apparently only supports Release and Debug as parameters - I cannot add Mine as an option there.
As a result, when I build my WiX project, while every dependent C # project uses Mine configuration, the WiX project uses Release.
This is usually not a problem, however I have a BeforeBuild action that uses $ (Configuration). And it pulls in Release instead of my desired and selected "Mine."
Any ideas how I can pass Mine from MSBuild from a project that doesn't include it? Is there another $ (ActiveConfiguration) or similar?
thanks
source share