DLL's created after build

R

Rotsey

Hi,

I am using VS2005 and recently starting using C# instead of VB.

When i build a project I am finding that sometimes I get the assembly
DLL in the "Debug" folder and sometimes not only the "Release"
folder.. I delete them before my build to see.

Is there an explanation for this?

Also I find that a bin folder is created in project folder and also
a "obj" folder that has a debug and release folders.

So what version is in the bin folder?

Anyone shed some light on the build process?

rotsey
 
M

Marc Gravell

At the top of the screen (in VS) is the configuration selector... if
you have Debug selected it builds to obj/debug and bin/debug, and if
you have Release selected it builds to obj/release and bin/release.

The obj folder (in brief - not 100% accurate ;-p) contains blocks that
are either being used by the IDE (designers etc), or by the compiler
while assembling a build. The bin folder contains built code (and
associated files). In general, it is bin/release that you want to
xcopy / robocopy as a deployment.

If you use msbuild (at the command-line) there are many, many more
ways of configuring builds, e.g. publishing to other. Some of these
are available through the IDE (or by hacking your project file by
hand), but not quite all.

Marc
 
R

Rotsey

Marc

I do not have a configuration selector on my vs screen

Is this due to the fact that I selcted VB as language when I
installed vs???

How do I bring up the configuration selector I cannot
see it on the menus anywhere?

rotsye
 

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