-1

I used VS2012 to build a very small console app. After I build it in release mode, not release(active), it still generates debug file such as

  • .pdb
  • .vshost.exe
  • .exe.config
  • .vshost.exe.config
  • .vshost.exe.manifest

Why are they there? How can I make VS not to generate them?

Thanks,

Shawn
  • 5,130
  • 13
  • 66
  • 109
  • do you know what .pdb file is used for.. what exe.config file is..? do some googling and check MSDN and understand they why and what in regards to what those different files are used for.. – MethodMan Sep 15 '15 at 15:21
  • *Why* don't you want them generated? Besides, some of them are *not* debug files, they are part of your application, like `exe.config`, or the host exe that allows you to run your application by running F5 even in Release mode – Panagiotis Kanavos Sep 15 '15 at 15:34

1 Answers1

2

Even in release modes it is useful to have debugging.

For more information on pdb files and how to stop them see

What is a PDB file?

Config files allow you to change variables in an executable without rebuilding code.

Manifests allow you to embed programs or use them as resources.

ALL OF THESE ARE USEFUL. Please don't turn them off.

Community
  • 1
  • 1
Seth Kitchen
  • 1,526
  • 19
  • 53