I'd like to write a pre-build event script that checks if the ServerEnabled node (a setting in the Target > Publishing tab) is set to true. If it's checked (set to true), then I want the pre-build script to set the ServerEnabled to false.
For example:
IF ServerEnabled == true then set to false
Can this be accomplished with a pre-build event script? Would I just compare two strings?
Jim