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

4 Kicks, 109 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.