title: Set a default build configuration for project
body: <p>I have several possible configurations in a Visual Studio project file. How can I specify which one is selected by default (when no <code>.suo</code> is present)? Right now, when I open the project in Visual Studio, Debug configuration is selected by default.</p>
  
  <p>Relevant part of the project file:</p>
  
  <pre><code>&lt;PropertyGroup&gt;
      &lt;Configuration Condition=" '$(Configuration)' == '' "&gt;Debug&lt;/Configuration&gt;
      &lt;Platform Condition=" '$(Platform)' == '' "&gt;AnyCPU&lt;/Platform&gt;
      &lt;ProductVersion&gt;...&lt;/ProductVersion&gt;
      &lt;SchemaVersion&gt;...&lt;/SchemaVersion&gt;
      &lt;ProjectGuid&gt;{...}&lt;/ProjectGuid&gt;
      &lt;OutputType&gt;...&lt;/OutputType&gt;
      &lt;RootNamespace&gt;...&lt;/RootNamespace&gt;
      &lt;AssemblyName&gt;AAAAA&lt;/AssemblyName&gt;
      &lt;MyType&gt;Windows&lt;/MyType&gt;
      &lt;TargetFrameworkVersion&gt;v4.0&lt;/TargetFrameworkVersion&gt;
  &lt;/PropertyGroup&gt;
  &lt;PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "&gt;
      &lt;DebugType&gt;Full&lt;/DebugType&gt;
      &lt;DefineDebug&gt;false&lt;/DefineDebug&gt;
      &lt;DefineTrace&gt;true&lt;/DefineTrace&gt;
      &lt;Optimize&gt;false&lt;/Optimize&gt;
      &lt;OutputPath&gt;Bin\Release&lt;/OutputPath&gt;
      &lt;DocumentationFile&gt;AAAAA.xml&lt;/DocumentationFile&gt;
  &lt;/PropertyGroup&gt;
  &lt;PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|AnyCPU'"&gt;
      &lt;DebugSymbols&gt;true&lt;/DebugSymbols&gt;
      &lt;DebugType&gt;full&lt;/DebugType&gt;
      &lt;DefineDebug&gt;true&lt;/DefineDebug&gt;
      &lt;DefineTrace&gt;true&lt;/DefineTrace&gt;
      &lt;OutputPath&gt;bin\&lt;/OutputPath&gt;
      &lt;DocumentationFile&gt;AAAAA.xml&lt;/DocumentationFile&gt;
      &lt;PlatformTarget&gt;AnyCPU&lt;/PlatformTarget&gt;
  &lt;/PropertyGroup&gt;
  </code></pre>
  
  <p>I want this configuration to be selected by default:</p>
  
  <pre><code>&lt;PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "&gt;
      &lt;DebugType&gt;Full&lt;/DebugType&gt;
      &lt;DefineDebug&gt;false&lt;/DefineDebug&gt;
      &lt;DefineTrace&gt;true&lt;/DefineTrace&gt;
      &lt;Optimize&gt;false&lt;/Optimize&gt;
      &lt;OutputPath&gt;Bin\Release&lt;/OutputPath&gt;
      &lt;DocumentationFile&gt;AAAAA.xml&lt;/DocumentationFile&gt;
  &lt;/PropertyGroup&gt;
  </code></pre>