title: Folder not being copied to Output directory
body: <p>I have the following on an ASP.NET Core 3.1 csproj file:</p>
  
  <pre><code>  &lt;ItemGroup&gt; 
      &lt;Content Include="webroot\**"&gt; 
        &lt;CopyToOutputDirectory&gt;Always&lt;/CopyToOutputDirectory&gt; 
      &lt;/Content&gt; 
    &lt;/ItemGroup&gt;
  
    &lt;Target Name="Approot" BeforeTargets="BeforeBuild;BeforePublish"&gt;
      &lt;Exec WorkingDirectory="approot" Command="npm install" /&gt;
      &lt;Exec WorkingDirectory="approot" Command="npm run build --prod" /&gt;
    &lt;/Target&gt;
  </code></pre>
  
  <p>I am building a Client application in <code>approot</code> folder and saving the result to webroot folder.</p>
  
  <p>I need the webfoot folder to be copied to the Output directory ...</p>
  
  <p><strong>Problem</strong></p>
  
  <p>When I build it files are placed on webfoot folder but it is not copied to the Output.</p>
  
  <p>So I need to rebuild it again so that webroot folder is copied to the Output ...</p>
  
  <p>It seems that the 2 npm commands are being ran after the Build but I am using BeforeBuild.</p>