Here's what I'm trying to do:
- A single build script
- That script builds two executables from the same Visual Studio project.
- The first compiled .exe has a small amount of code disabled.
- The other compiled .exe has everything enabled.
I've been reading up on conditional compilation and that takes care of my needs as far as enabling/disabling blocks of code.
I just can't figure out how to control conditional compilation from a build script using msbuild.
Is there a way to manipulate conditional compilation variables from a build script or some other way to accomplish what I'm trying to do?