How do I change active build configuration in Delphi?

delphi, delphi-xe

Solution

- Open the project manager from the View menu, or use the shortcut Ctrl+Alt+F11.

- Find the Build Configurations node in the project manager's tree view and open it up.

- Double click on Release.

The active build configuration is indicated in the project manager by boldface text.

Problem

Any time I compile, build or run my project it outputs the exe file into the Debug\Win32 folder, so I guess it is in debug mode. When I go to : Project->Options I can see the debug(active) But I don't know how to switch to release. When I change the combo to release, debug is still active.

Original source