title: How to copy folder along with items inside to output directory?
body: <p>In c# project file, I can use below ItemGroup to copy all items in Folder1 including sub folders into output directory, but not Folder1 itself. I wonder can I copy Folder1 along with all items inside of it into output directory?</p>
  
  <pre><code>  &lt;ItemGroup&gt;
      &lt;Content Include="$(SolutionDir)\ProjectFolder\Folder1\**\*"&gt;
        &lt;Link&gt;%(RecursiveDir)%(Filename)%(Extension)&lt;/Link&gt;
        &lt;Visible&gt;false&lt;/Visible&gt;
        &lt;CopyToOutputDirectory&gt;PreserveNewest&lt;/CopyToOutputDirectory&gt;
      &lt;/Content&gt;
    &lt;/ItemGroup&gt;
  </code></pre>