Why is Visual Studio generating these additional files?

The output directory where Visual Studio places the compiled executable file, there are three additional file types *.exp, *.lib, .pdb. I do not need these files, and I would like the compiler not to create them.

This is what my output directory looks like. I only need a file *.exe.

output directory with unwanted additional files

What are these additional files for? How can I disable their creation? If they are necessary for the build process, is there a way to automatically delete them after creating the executable?

I am using Visual Studio 2012. If you need more information, please comment.

+7
source share
3 answers

EXP LIB .lib .exp COM!. , " "

+5

__declspec (dllexport). , , , ( , exe dll - ) *.lib *.exp

0

, , dll exe, *.exp, *.lib,.pdb , , .

Open Properties (right-click the project in Solution Explorer ): change the settings as shown:enter image description here enter image description here

0
source

All Articles