View Single Post
  #8 (permalink)  
Old December 12th, 2006, 01:36 PM
ef1196 ef1196 is offline
Authorized User
Join Date: Nov 2006
Location: , , USA.
Posts: 87
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to ef1196

My issues related to the location of the .PDB when the application is published.

After all the dialogue (which is appreciated) here is what I have FINALLY discovered:

I knew that the .PDB file needed to be included in the project in order to access line number info in the EXCEPTION, but it seems that I have to compile and then manually copy the .PDB to the root application folder (along side forms, etc.) and then set THAT version to "INCLUDE IN PROJECT" ("Copy To Output Directory" property = "Copy Always") in order for the published application to be able to properly access the .PDB debug info.

You're previous suggestions were (100%) correct, it was just a matter of my app not being able to find the debug info.

If you've got a better solution for publishing the .PDB (as this is obviously a work around), bring it on. Otherwise this one is considered closed.

Thanks Woody!

Best Regards,
Earl Francis