Basically it is a way to choose which settings will be used to create the project. These are common and already come with Visual Studio but it is possible to create your own settings. See Configuration Manager...
on the menu.
When you choose one of them you are choosing a file that contains all the mechanics that will be used to generate the project. The mode debug prepares the environment for verification and not for execution in production.
In general this creates a build variable (DEBUG
) which can be used internally by the compiler to decide what to compile based on code directives (conditional compilation) and attributes used. In addition a file is generated (.pdb
) with additional data to help with code debugging. Obviously the code is generated to facilitate the test and not to run fast and low consumption.
The Jitter and GC behave differently when in mode debug.
The way release, clear, generates a clean, optimized and production-ready design. Some post-build tasks are often used in this mode.
For which language?
– Maniero
I’ll edit here.
– gato