อ่านในภาษาอังกฤษ

แชร์ผ่าน


Copy.SkipUnchangedFiles Property

Definition

Gets or sets a Boolean value that indicates whether the Copy task should skip the copying of files that are unchanged between the source and destination.

This API supports the product infrastructure and is not intended to be used directly from your code.

C#
public bool SkipUnchangedFiles { get; set; }
C#
public bool SkipUnchangedFiles { [System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")] get; [System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")] set; }

Property Value

true if the Copy task should skip the copying of files that are unchanged between the source and destination; otherwise, false.

Attributes

Remarks

The Copy task considers files to be unchanged if they have the same size and the same last modified time.

Applies to

ผลิตภัณฑ์ เวอร์ชัน
MSBuild 15, 16, 17
MSBuild (.NET Core) 15, 16, 17