異なる設定でプロジェクトをビルドする必要がある場合は、ビルド構成が必要です。 たとえば、[デバッグ] や [リリース] はビルド構成であり、それらをビルドするときにはそれぞれ異なるコンパイラ オプションが使用されます。 1 つの構成がアクティブになっており、IDE の上部にあるコマンド バーに表示されます。 構成とプラットフォームによって、ビルドされた出力ファイルが格納される場所が制御されます。 通常、Visual Studio でプロジェクトをビルドすると、アクティブな構成で名前付けされたプロジェクトのサブフォルダー (例: bin/Debug/x86) に出力が配置されます。ただし、これは変更できます。 ソリューション レベルとプロジェクト レベルで独自のビルド構成を作成することができます。 ソリューション構成では、その構成がアクティブなときにビルドに含まれるプロジェクトが決定されます