Does anyone know how to remove the full path of a PDB file from a C# dll or exe file?
I noticed that the full path where my project is stored in my computer shows up whenever a debug error shows up. We do not install the PDB files anyway, but we keep them in case we need to debug a crash dump. So there's no need to hard code the exact location of them in my computer in the dll file.
I even changed the project configuration mode from Debug to Release and the pdb path is still there. Is there any way to get rid of it?