A couple of months back I was running into an issue debugging a service I wrote remotely. I publish everything to the correct directory. Some how or the other, when I attempt to attach, the debugger tells me that I am missing a pdb file (not in so many words obviously). So what I do is, I go in and look a the missing modules. Look for the specific directory on my server, and just copy the pdb directly from the bin file to that directory. Does anybody know why I have to do that?
Thanks.
you don’t get the pdb file if you build your dll or application in release mode of visual studio.try building the dll in debug mode you will get the pdb file.