Do you distribute a product in Release mode?

Updated by Brady Stroud [SSW] 1 year ago. See history

123
No component provided for introEmbed
#if DEBUG MessageBox.Show("Application started"); #endif

Figure: Code that should only run in Debug mode, we certainly don't want this in the release version.

Image

Figure: Set "Generate Debugging Information" to True on the project properties page (VS 2003)

Image

Figure: Set "Debug Info" to "pdb-only" on the Advanced Build Settings page (VS 2005)

Acknowledgements

Adam Cogan
Ryan Tee
Related rules

Need help?

SSW Consulting has over 30 years of experience developing awesome software solutions.

We open source.Loving SSW Rules? Star us on GitHub. Star