How do I force a rebuild when the project configuration changes?

configuration, visual-studio, visual-studio-2008

Solution

From the Tools Menu

Select Options

Select Projects and Solutions

Select Build and Run

In the combo box below the text that says "On Run, when projects are out of date"

Make sure that you have selected "Always build"

Problem

I have several project configurations and I switch between them constantly. However, every time I switch, I have to manually do a rebuild before running. How do I force it to rebuild automatically?

Original source

Related problems