views:

14

answers:

1

I am trying to setup Remote Debugging on one of our internal systems as there is a Function in class library that keeps failing for our users but not me. I have the Folder Share to my Remote Debugger folder set up and I can attach to the process on there machine but I get the following message --> The following module was built either with optimizations enabled or without debug information: ....

How do I satisfy this requirement? I checked and Optimizations is not enabled but how do I get the pdb(??) file to the user when using ClickOnce? Is that even my issue?

+1  A: 

When you deploy the clickOnce app to the server, make sure that you build it in Debug mode. Further, in the UI project, under the properties window, in the publish tab, there is a button labeled 'Application Files'. From this screen, you can add/remove files (like PDBs) from the ClickOnce deployment. This should allow you to deploy the debug app and have it accompanied by PDB files.

GWLlosa
Thanks, I didn't know you could publish the pdb's with the app.
Refracted Paladin