I just created a new project configuration.
I named it ‘Blah’ So no ‘debug’ in it.
Now how does Visual Studio know when to compile a debug file or a release file.
is this merely defined by the DEBUG constant?
Or am I wrong? 🙂
Thanks
I’m using C#, with Visual Studio 2008.
Thank you for your answers.
I read that I need to define full debug info, how do I do that?
Short: if I define DEBUG, it’s a debug build? Right?
It doesn’t compile a debug file or a release file; it compiles a Blah file. “Debug” and “Release” are just shorthand labels for a number of settings. E.g. the “Release” configuration includes optimization settings, whereas the “Debug” setting includes the generation of a PDB, and the preprocessor definition of
DEBUGYour Blah build configuration could be 50% debug, 50% release, if it mixes these settings. Some settings aren’t even boolean, and thus your config could be unlike either.