Why not create your own? I don't think there's any other easier way.
#if DEBUG
internal static readonly bool debug=true;
#else
internal static readonly bool debug=false;
#endif
--
C#, .NET and Complex Adaptive Systems:
http://blogs.geekdojo.net/Richard
"Daniel P." <da******@hotmail.comU> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
How can I figure out at run-time if he code that runs is a debug or a
release build?
Thanks!