You probably should check the settings of your Visual Studio.

Tools->Options->Project And Solutions->Build And Run