FindInList.MatchFileNameOnly Property

Definition

Whether to match against just the file part of the itemspec, or the whole itemspec (the default)

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

C#
public bool MatchFileNameOnly { get; set; }
C#
public bool MatchFileNameOnly { [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 FindInList task should match against just the file name part of the itemspec; false if the FindInList task should match against the whole itemspec.

Attributes

Remarks

Default value is true.

Applies to

Prodotto Versioni
MSBuild 15, 16, 17
MSBuild (.NET Core) 15, 16, 17