asp.net - How do you stop source file information appearing in a Release? -


i building web application. here's do.

set solution configuration manager release. projects building release version. clean solution , build all. "build deployment package".

when running installed code deployment package notice when there bug in compiled source source file appears! how possible, building release configuration. source code not in release must in dlls.

is there way stop this?

assuming talking 'yellow screen of death' asp.net error pages, showing source code locations of exceptions; happening due including debug symbols in build , deployment package. *.pdb file(s) named same *.dll file(s).

this not bad, in , of itself. however, should not displaying errors end-users regardless. without debug symbols, error messages show information. should handling errors , displaying 'safe , friendly' error message users.

if want remove debug symbols, can remove pdb files. can change build properties in project, , remove option includes debug symbols.


Comments

Popular posts from this blog

ASP.NET/SQL find the element ID and update database -

jquery - appear modal windows bottom -

c++ - Compiling static TagLib 1.6.3 libraries for Windows -