Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Remove .pdb file in visual studio 2010

When I compile a .sln file with visual studio 2010 a .pdb file is generated. How can I disable the creation of the .pdb file?

like image 259
SandyBr Avatar asked Feb 05 '11 22:02

SandyBr


1 Answers

There is an option in the "Project Properties", "Build", "Advanced...".

Change "Debug Info:" to None.

However, you should only do this if you are sure you don't need them.

It might be better to keep the PDB files, and just copy over the files that you need.

Before changing the setting, please read this.

like image 181
DaveShaw Avatar answered Oct 04 '22 01:10

DaveShaw