Usually they are configured to build differently. The debug build includes building debug symbols (the .pdb files that live next to the .dll assemblies) and doesn't perform code optimization which speeds up compiling a bit. There are lots of other settings that you can see in the project configuration properties.
-
Peter