aspnet_compiler and pdb files.

C

chris

I am confused about the aspnet_compiler. I have a solution that
contains a website, and other supporting assemblies such as business
logic and the data layer. Before I actually run aspnet_compiler I go
to the solution configuration manager and change the active
configuration to Release and have all the assemblies and the website
checked to build. I then change the web.config debug=false. Now I run
my aspnet_compiler. I run the following command:

aspnet_compiler -v /MyVirtualRoot "C:\MyPreCompiledWebsite"

This should fully compile everything for release and be ready to
deploy, no?

The things that worry me are, I see all my assemblies compiled into
dlls, but they also have associated pdb files. Furthermore, I have a
module set up to email me when an unhandled exception fires. This
email contains line numbers of where the exception occurred. I thought
if this project was in complete release mode, there should not be any
debugging symbols or pdb files at all. Am I really in release mode, or
am I doing something wrong???

TIA,
Chris
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top