Using <compilation debug="false"/> will, at least,
stop ASP.NET from *trying* to find debug symbols if an error occurs.
Whether VS.NET compiles .pdb files, or not, is not the critical point.
The issue is whether ASP.NET attempts to find debug symbols,
or not, when the application is running on your production server.;
You should *always* include <compilation debug="false"/>
in your production server's web.config.
Juan T. Llibre, ASP.NET MVP
ASP.NET FAQ :
http://asp.net.do/faq/
Foros de ASP.NET en Español :
http://asp.net.do/foros/
=============== =============== ========
"Rob" <Ro*@discussion s.microsoft.com > wrote in message
news:A2******** *************** ***********@mic rosoft.com...
By default, the web.config file of an ASP.NET application contains the
following debug attribute for the compilation element:
<compilation debug="true"/>
My question is this: When doing the the final build, the compile of the
application is done in "Release" mode. The .dll file is created without a
.pdb file. Is it still necessary to change the debug attribute to "false"
during the final build when compiling in "Release" mode appears to override
debug="true" anyway?
Thank you for any help in advance.