Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Hi all,

I just created a VB.NET project in VS.NET 2005.

It created 2 folders in the project folder named "bin" and "obj".

Each of these folders have 2 subfolders named "Debug" and "Release".

Now I want to know the files in which folder/subfolder should be published to my users?

The interesting fact is that my executable file in folder "Debug" is a little bit larger than the one in "Release" folder! :confused:

Posted

obj vs bin, Debug vs Release

 

The obj folder contains the files used to build the project, and the bin folder contains the output project files, plus any local dependencies. Therefore, the files you need to distribute lie in the bin folder.

 

Debug builds will be larger than Release builds because they contain extra metadata and debugging symbols used for debugging, plus a program debug database (PDB) file. These are usually left out of the Release build to give faster execution and smaller memory footprint. If distributing to clients, you probably want to use the Release build.

 

Good luck :)

Never trouble another for what you can do for yourself.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...