How do I switch between Debug and Release builds?
You can switch between Debug and Release build configurations by selecting the project you want to change the build configuration of in the Project Explorer view, then using one of the below methods:
Select the menu item Project->Build Configuration->Set Active and select Release or Debug as necessary
Use the drop down arrow next to the 'sundial' (Manage configurations for the current project) icon on the main toolbar (next to the 'hammer' icon) and select Release or Debug as necessary. Alternatively you can use the drop down next to the 'hammer' icon to change the current configuration and then immediately trigger a build.
Right click in the Project Explorer view to display the context sensitive menu and select Build Configurations->Set Active entry.
It is also possible to set the build configuration of multiple projects at once - for details see the FAQ Changing the current build configuration of multiple projects.