Copying content folder in .csproj

·

1 min read

To copy content folder in .csproj to output folder, add the following.

  <ItemGroup>
    <Content  Include="$(ProjectDir)Content\**" CopyToOutputDirectory="PreserveNewest" />
  </ItemGroup>