I have a web that I build with WebDeploymentProject. I thought I had build it in release mode, but now an errrormessage displays a linenumber. I have deployed a pdb file to the server. Can an assembly build in release mode display linenumbers if the pdb is present?
Is there any way to tell if an assembly is build in debug mode or release mode?
Pdb files provides line number information, so there is nothing criminal in error messages.
To detect if an assembly built in debug mode inspect Debuggable attribute attached to the assembly.