title: MsBuild copy file after build
body: <p>I want to copy an xml file from the main directory to <code>bin\Debug</code> after building the project, but my solution doesn't work. I edited <code>.csproj</code> file and added:</p>
  
  <pre><code>&lt;Target Name="AfterBuild"&gt;
       &lt;Copy SourceFiles="Controllers.xml" DestinationFolder="\bin\Debug" ContinueOnError="true" /&gt;
  &lt;/Target&gt;
  </code></pre>
  
  <p>What am I doing wrong? The build is successful.</p>