Visual Studio: Use Conditional Compilation to Control Runtime Settings for Different Deployment Scen

added by John Atten
3/15/2013 1:54:34 PM

4 Kicks, 160 Views

I will say right here that this is most likely a hack solution to what is ultimately an application design issue. I have heard it said that the use of conditional compilation is often a strong code “smell” indicating a potential area for redesign. However, in my case, I needed a fast answer.


Gary Woodfine
3/16/2013 9:53:25 AM
Just have to apologise I didn't mean to drop kick your article, it was little mistake! Hopefully some kind folk will call along and kick it up!

3/16/2013 10:15:31 AM
Fixed! :)

Gary Woodfine
3/17/2013 7:26:24 PM
There kicked it up now! Thanks Robert!

John Atten
3/17/2013 9:24:31 PM
Thanks to both! Thanks for reading!