I want to deploy the release version of my application done in C#.
When I build using the Release
config, I still can see that .pdb
files are produced, meaning that my application can be still debugged. This also means that some debug information is present somewhere in my code, slowing it down a little bit.
If this is true, how can I completely suppress any debug information produced in the binaries? Do you also know the reason of for having release .pdb
? The Release
configuration has the Optimize code
checked, and only the TRACE
constant is defined, not DEBUG
.
Thank you for assisting.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…