Skip to content

Instantly share code, notes, and snippets.

@litichevskiydv
Created March 3, 2022 08:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save litichevskiydv/60cc82a97c78cafee8149a9142a0134c to your computer and use it in GitHub Desktop.
Save litichevskiydv/60cc82a97c78cafee8149a9142a0134c to your computer and use it in GitHub Desktop.
Sometimes it is necessary to share via package not only code, but also a some content. Here is an example of .csproj file that allows you to share a report template.
<ItemGroup>
<Content Include="ReportTemplate.xlsx" Pack="true">
<BuildAction>Content</BuildAction>
<PackageCopyToOutput>true</PackageCopyToOutput>
</Content>
</ItemGroup>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment