bin and obj folders

G

Guest

Can anyone please explain what the bin and obj folders are for? They are
created automatically in C# applications but I have no real idea about the
obj folder.

The bin folder is the same relative path to the executable as the
application folder once it is deployed, but apart from that I have no
knowledge.

An in depth reply is not needed, just a couple of links to sites explaining
them will do.
 
G

Guest

The obj folder will provide sub folders that will hold various results of
your 'build configurations'.

For example when you build your DEBUG configuration, a folder called DEBUG
will be created that will have the .exe and other support files to run your
debug configuration. If you create a configuratin called TEST, a folder
called TEST will be created that will have the .exe and other support files
to run your test configuration.

These obj sub folders are the default sub folders where VS builds and
executes your project when you press the RUN button - in VS when you are
testing, running, programming etc. In other words while you are working in VS.

When you publish or deploy your application, I don't think the folders
within the obj folder are of much concern. I may be wrong here - but that has
been out experience.
 

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

Top