D Daniel P. Jul 8, 2004 #1 How can I figure out at run-time if he code that runs is a debug or a release build? Thanks!
R Richard A. Lowe Jul 8, 2004 #2 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
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
D Daniel P. Jul 8, 2004 #3 Thanks! Richard A. Lowe said: 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 Click to expand...
Thanks! Richard A. Lowe said: 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 Click to expand...