Ata Ata - 1 month ago 16
C# Question

What is a PDB file?

What is a PDB file and how can I exclude it from the release folder when I rebuild my solution?

Answer

A PDB file contains information for the debugger to work with. There's less information in a Release build than in a Debug build anyway. But if you want it to not be generated at all, go to your project's Build properties, select the Release configuration, click on "Advanced..." and under "Debug Info" pick "None".