title: Configure MSBuild output path
body: <p>There is a Windows Forms (NET 3.5) project, foo.csproj, with localized resources files. I use MSBuild to build the project and create a deployment structure:</p>
  
  <pre><code>&lt;MSBuild Projects="foo.csproj" Properties="Configuration=Release;OutputPath=..\deploy\foo" Targets="Build" /&gt;
  </code></pre>
  
  <p>It copies foo.exe and all localized DLL files to the <code>deploy\foo</code> folder, but I need localized DLL files to be copied into a separate folder. It should be:</p>
  
  <ul>
  <li>deploy\foo\foo.exe</li>
  <li>deploy\locales\ru-RU\foo.resources.dll</li>
  <li>deploy\locales\pt-BR\foo.resources.dll</li>
  </ul>
  
  <p>Is there a way to configure MSBuild to copy EXE and DLL files to different folders?</p>