Why does Visual Studio 2010 compiler for VB.Net still generate pdb files in my bin folder when I have "Generate debug info" set to "None"

StackOverflow https://stackoverflow.com/questions/14734883

Question

  1. Delete all pdb files from Project/bin folder.
  2. In project settings -> Compi9le -> Advanced, set 'Generate debug info' to 'None' (instead of pdb-only).
  3. Recompile project (in Release mode, with Generate debug info == None).
  4. Visual studio creates pdb files in my project's bin folder even though Generate debug info is still None.

Why? And how can I get Visual Studio to stop generating these pdb files?

Était-ce utile?

La solution

Are you certain that you have changed it for the correct build config. eg. You changed it for Release but you are compiling under debug?

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top