I have this code in my C# class.
#if DEBUG private const string BASE_URL = \"http://www.a.com/\"; #else private const string BASE_URL = \"h
VS 2017 actually sense the active configuration and for example will gray out the debug condition if the release configuration is selected.