Debug.Assert Appears in Release Mode
- by Ngu Soon Hui
We all know that Debug.Assert will not be compiled into the dlls when compiled in release mode. But for some reason Debug.Assert did appear in the release version of a component I wrote. I suspect that I might have mess up my csproject setting.
Any idea why Debug.Assert appears in release mode?
P/S: I have double checked to make sure that I was really compiling in release mode before asking this question.