I am just delving into the concept of conditional compilation using pre-compiler commands such as #if, #elseif, etc. I think I understand what this gets you but I wanted to lay out a scenario and ask a question for confirmation.
The way I think about this is it will get you a single project in your source control. You will still need to pull that code into a dictionary that matches the version for which you are building and which you have defined a constant defining your build numbers used in the code. So for deployment of your code you still build a chunk file which only works with a specific version.
Why I am laying out this scenario? I have a client who utilizes a customization across multiple versions of GP. They requested that a single chunk file work for all versions. I do not see a way of accomplishing their request.
Do you?
*This post is locked for comments