how to copy content of folder to bin dotnet core code example
Example: .net core copy directory to output
<ItemGroup>
<None Include="$(SolutionDir)config\**"
CopyToOutputDirectory="PreserveNewest"
LinkBase="config\" />
</ItemGroup>