Lightlines
By dotnet

copy-to-output-directory

dotnet1.9k installs

Reset changed output files without copying every build.

What it does

Guides selection of MSBuild copy settings to avoid unnecessary copies while restoring output files changed between builds.

When to use it

Use when removing the per-build cost of Always copying or resetting output files mutated between builds, not for general incremental-build diagnosis or non-MSBuild builds.

How to use it

It changes how the agent selects MSBuild copy modes and configures skip-unchanged behavior in the project.

What you provide

  • An existing project

Latest review

What you need · 1

Requires an MSBuild toolset; IfDifferent and SkipUnchangedFilesOnCopyAlways require MSBuild 17.13 or later, available through .NET SDK 9.0.2xx+ or Visual Studio 2022 17.13+. Older toolsets silently leave items using the unrecognized mode uncopied.


Access · 0

No additional actions listed.