Why does .NET delete my pdb files when changing to release mode.

  • Thread starter Thread starter Darren
  • Start date Start date
D

Darren

When I do a final build I typically build all projects in debug mode
first and then release mode and then copy all files to a builds
folder. However I've noticed that the .pdb files in the debug folder
aren't always there. After investigating I found out that when I
change from debug to release version, it deletes the .pdb files in the
debug folder. Why would it do this? What else is it doing to my files?

Thanks,
Darren.
 
Darren:

These are debugger files and by default, when you switch to Release mode,
Visual Studio will clean up debug-releated files. If you want them around,
there is a setting (can't recall of top of my head) that will generate them
for release builds as well.

John Puopolo
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top