You should be able to select the release mode in your project properties. Right-click your project, select Properties, and click the Assembly tab on the left side of the window. From there you can clear the "Define DEBUG constant" checkbox. Make sure you do this for build release, and not for debug mode.
