I have a project that compiles in to an .exe This project needs to be available in 2 editions. Everytime I perform an update, I need to comment out several pieces for "edition A" and vica versa for "edition B".
The reason for "(un)commenting" instead of just using a config setting or some context variable is because I don't want Intermediate Code from "Edition A" to be available in "Edition B" and vica versa because this would make the life of software crackers a lot more easy.
Is there a way in visual studio to add/remove code from compilation based on a setting?
Thank you !