Skip to content
Schemory
Skill

copy-to-output-directory

Choosing an MSBuild CopyToOutputDirectory / CopyToPublishDirectory mode: Never, PreserveNewest, Always, and IfDifferent (MSBuild 17.13+), plus $(SkipUnchangedFilesOnCopyAlways). USE FOR: removing the per-build Always copy perf hit; resetting output files mutated between builds. DO NOT USE FOR: general incremental-build diagnosis (use incremental-build); non-MSBuild build systems.

Listed from its GitHub repository. Reports from people who tried it will appear here.

Source
dotnet/skills
GitHub stars
6,332
License
MIT

No reports yet

Nobody has written down how copy-to-output-directory works with their agent. Tried it? Say whether it worked, and with which agent and model.

Write the first report