M
Magne Ryholt
Using VS.net 2003 (C#)
Code:
:
#if DEBUG
something
#else
something else
#endif
When I switch the build configuration to release, the code in the #if DEBUG
path is still compiled (and executed)
I have checked the "Conditional Compilation Constants" in the project
properties settings, and they look ok
(DEBUG; TRACE for debug and TRACE for release)
Any ideas ?
Code:
:
#if DEBUG
something
#else
something else
#endif
When I switch the build configuration to release, the code in the #if DEBUG
path is still compiled (and executed)
I have checked the "Conditional Compilation Constants" in the project
properties settings, and they look ok
(DEBUG; TRACE for debug and TRACE for release)
Any ideas ?