Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save MichalSkoula/63968a55d933a58e59ac61194ffa9844 to your computer and use it in GitHub Desktop.
Save MichalSkoula/63968a55d933a58e59ac61194ffa9844 to your computer and use it in GitHub Desktop.
dotnet publish: how to copy file to publish folder (not output, but publish)
<ItemGroup>
<Content Include="file.txt" CopyToPublishDirectory="Always" />
</ItemGroup>
this is not available through GUI
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment