Hi Experts,
I'm using Visual Studio 2013.
Some code I have uses Conditional Compilation to build two different applications.
I build them one at a time, changing the value of conApplicationName back and forth between "App1" and "App2".
Currently, the project is called App1, to the executable is App1.exe.
When I build App2, I manually change the App1.exe name to App2.exe.
This is messy and error-prone.
Is it possible to create a Post-Build Event that can use some conditional code to automate this process?
If not, is there another way to achieve this?
Regards,
Leigh
Our community of experts have been thoroughly vetted for their expertise and industry experience.