Check out example codes for ".net core copy directory to output". It will help you in understanding the concepts better.

Code Example 1

<ItemGroup>
  <None Include="$(SolutionDir)config\**" 
        CopyToOutputDirectory="PreserveNewest"
        LinkBase="config\" />
</ItemGroup>

Learn ReactJs, React Native from akashmittal.com