I have a single desktop app project in Visual Studio which need to be built with a number of different app icons. I have added support for this in the project-file like so:
<PropertyGroup>
<ApplicationIcon Condition=" $(DefineConstants.Contains('OTHER_VERSION')) ">Other.ico</ApplicationIcon>
<ApplicationIcon Condition=" !$(DefineConstants.Contains('OTHER_VERSION')) ">Standard.ico</ApplicationIcon>
</PropertyGroup>
Now, how do I configure my project to build both these versions automatically at the same time, without having to execute the build twice and change build constants in between? Is it even possible?