Skip to content

SkipUnchangedFiles doesn't work on Linux #4015

Open
@marcin-krystianc

Description

@marcin-krystianc

On Windows and MacOS File.Copy preserves LastWriteTime, but it is not the case on Linux.
For this reason SkipUnchangedFiles=true doesn't really work on Linux, because we use LastWriteTime to check if file has changed or not. Linux doesn't preserve LastWriteTime, so it will always differ for original file and copy.

https://github.com/Microsoft/msbuild/pull/3997/files#diff-4826624e1418003ab55be4305eadddadR568

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions