Hi,
For some reason, the following line does nothing in my ASP.NET MVC project:
System.Diagnostics.Debug.Assert(false);
I have triple-checked that I am using the Debug configuration and "Define Debug constant" is checked in the Debug configuration settings.
The same problem also occurs in my unit test project.
Implementing my own assert method seems trivial, but a bit awkward. Any hints on how to fix this would be greatly appreciated.
Edit: I am using several third-party modules in my project. Could this perhaps be caused by referencing a module which is compiled in release mode?