Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is obj folder generated for? [duplicate]

Possible Duplicate:
What are the obj and bin folders (created by Visual Studio) used for?

The default output path for any project is Visual studio is bin/Debug, but I have noticed that obj folder is also generated which again contains dll and pdb files. Can someone tell me why is this folder generated?

like image 425
Nazgul Avatar asked Oct 05 '08 16:10

Nazgul


People also ask

Can I delete the obj folder?

The bin and obj folders are usually safe to delete since they are automatically generated when the solution/project is being build by Visual Studio/MSBuild.

What is the difference between bin and obj folders?

The obj directory is for intermediate object files and other transient data files that are generated by the compiler or build system during a build. The bin directory is the directory that final output binaries (and any dependencies or other deployable files) will be written to.


1 Answers

"obj" folder is used to store temporary object files and other files used to create the final binary.

Further reading here

like image 79
casademora Avatar answered Oct 11 '22 00:10

casademora