I am trying to set up remote debugging on one of our internal systems as there is a function in a 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 their 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 files to the user when using ClickOnce
? Is that even my issue?
In the project you're publishing via ClickOnce:
From this screen, you can add/remove files (like .pdb files) from the ClickOnce deployment.
You do not need to use a Debug release to include .pdb files - Release mode can be used.