In summary, in “obj” folder, we have compiled files for each source code file and in “bin” folder, we have a single unit which links all individually compiled code files.
This obj folder is used in Conditional compilation or incremental compilation. Ex − I have a big project and it has multiple solution and multiple files. suppose if I change any one of the files and build the solution then only that file will be compiled this information will be present in the obj folder.
The bin folder holds binary files, which are the actual executable code for your application or library. Each of these folders are further subdivided into Debug and Release folders, which simply correspond to the project's build configurations.
"obj" folder is used to store temporary object files and other files used to create the final binary.
What's the difference between bin\debug and obj\debug in a Visual Studio project. (VB.NET in my case). I've been poking around on Google and bin\debug seems to hold the "official" compiled code (in spite of "debug" in the filename). If that's true, are the contents of obj\debug important to the developer?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With