title: .NET Core include folder in publish
body: <p>I have the following folder structure for my .NET Core 2.1 project:</p>
  
  <p><a href="https://i.stack.imgur.com/rpKJc.png" rel="noreferrer"><img src="https://i.stack.imgur.com/rpKJc.png" alt=""></a></p>
  
  <p>How can I include folder <code>AppData</code> and all of its subfolders and files when I publish the solution?</p>
  
  <p>I tried adding this to .csproj file but it didn't work:</p>
  
  <pre><code>&lt;ItemGroup&gt;
      &lt;Folder Include="AppData\*" /&gt;
  &lt;/ItemGroup&gt;
  </code></pre>
  
  <p><strong>EDIT</strong></p>
  
  <p>I also tried with this and it didn't work:</p>
  
  <pre><code>&lt;ItemGroup&gt;
      &lt;Content Include="AppData\**" LinkBase="AppData" /&gt;
  &lt;/ItemGroup&gt;
  </code></pre>