title: Control pdb file output from build defintion file
body: <p>I am trying to generate a release build with no pdb files generated.  I have seen numerous posts that suggest right-clicking on the project, selecting Properties, going to the Build tab and then to the Advanced... butoon and changing Debug Info to none.  This works and all, but I need to do this for a build of ~50 solutions which contain ~25 projects each! Other posts mention editing the appropriate .csproj file, but again, with so many projects, this would take a long time.  Is there any way to achieve this via the TFSBuild.proj file?</p>
  
  <p>I have tried adding the following to the TFSBuild.proj file, with no luck.</p>
  
  <pre><code>&lt;PropertyGroup&gt;
    &lt;Configuration&gt;Release&lt;/Configuration&gt;
    &lt;Platform&gt;AnyCPU&lt;/Platform&gt;
  &lt;/PropertyGroup&gt;
  
  &lt;PropertyGroup&gt;
    &lt;DebugSymbols&gt;false&lt;/DebugSymbols&gt;
    &lt;DebugType&gt;none&lt;/DebugType&gt;
    &lt;Optimize&gt;true&lt;/Optimize&gt;
  &lt;/PropertyGroup&gt;
  </code></pre>
  
  <p>The following line prints out Release|AnyCPU, none, and false, but I still see .pdb file in the $(OutputDir) folder.  </p>
  
  <pre><code>&lt;Message Text="$Configuration|Platform): $(Configuration)|$(Platform)" /&gt;
  &lt;Message Text="DebugType is: $(DebugType)"/&gt;
  &lt;Message Text="DebugSymbols is: $(DebugSymbols)"/&gt;
  </code></pre>
  
  <p>Thanks in advance,
  Urvi</p>