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
Check the DefineConstants property in your project file, it should be :
DefineConstants
DEBUG;TRACE
TRACE
Check that you haven't any #define DEBUG in your code.
#define DEBUG