Quantcast
Channel: Microsoft Dynamics GP Forum - Recent Threads
Viewing all articles
Browse latest Browse all 14686

Conditional Compilation : What does it get you and what does it not?

$
0
0

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? 


Viewing all articles
Browse latest Browse all 14686

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>