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 appea
Debug.Assert
Do you use any kind of build process, such as Nant or MSBuild, or even a web-deployment project?
Also, make sure that in release mode, go to your project properties and check the 'Define DEBUG Constant' isn't checked.