title: Delphi MSBuild Build Configurations From Command Line
body: <p>Delphi 2009 uses <strong>build configurations</strong>. When you create a new project you have two default build configurations "Debug" and "Release".</p>
  
  <p>Now I asked myself how to automate builds using MSBuild (which is supported by Delphi since version 2007).</p>
  
  <p>You can start the "msbuild" command in the "RAD Studio Command Prompt" in some Delphi project directory and it will build the <strong>default</strong> build configuration (the last activated build configuration inside the Delphi IDE).</p>
  
  <p>Now, I want to specify a certain (non-default) build configuration by a command line parameter.</p>
  
  <p>The Delphi help asserts that the parameter is [/p:configuration=<code>&lt;configuration name</code>>], which is <strong>wrong</strong> (Delphi 2009, Help Update 1)!</p>
  
  <p>What is the right way?</p>