Click here to Skip to main content
15,893,381 members
Articles / Programming Languages / C#

(C#) Determining whether the current build mode is Debug or Release

Rate me:
Please Sign up or sign in to vote.
2.17/5 (5 votes)
4 Feb 2012CPOL 58.7K   2  
Sometimes, it's useful to know whether you're running in debug or release mode so you can do extra work during debugging and skip it during release. This class makes that as simple as possible.

Views

Daily Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
SoftwareMonkeys
Australia Australia
Founder of www.softwaremonkeys.net

Comments and Discussions