Skip to content

Commit 49c3500

Browse files
author
Israel Soto
authored
Fix MatchFileNameOnly parameter default value
According to the [FindInList.cs](https://github.com/dotnet/msbuild/blob/b6420ea6bd0a1b4f71cdf9bc49932bbcacdbdc35/src/Tasks/FindInList.cs#L40) file at this point of history, the default value of `MatchFileNameOnly` is false.
1 parent 1465bc7 commit 49c3500

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/msbuild/findinlist-task.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ In a specified list, finds an item that has the matching itemspec.
3535
|`ItemFound`|Optional <xref:Microsoft.Build.Framework.ITaskItem>`[]` read-only output parameter.<br /><br /> The first matching item found in the list, if any.|
3636
|`ItemSpecToFind`|Required `String` parameter.<br /><br /> The itemspec to search for.|
3737
|`List`|Required <xref:Microsoft.Build.Framework.ITaskItem>`[]` parameter.<br /><br /> The list in which to search for the itemspec.|
38-
|`MatchFileNameOnly`|Optional `Boolean` parameter.<br /><br /> If `true`, match against just the file name part of the itemspec; otherwise, match against the whole itemspec. Default value is `true`.|
38+
|`MatchFileNameOnly`|Optional `Boolean` parameter.<br /><br /> If `true`, match against just the file name part of the itemspec; otherwise, match against the whole itemspec. Default value is `false`.|
3939

4040
## Remarks
4141

0 commit comments

Comments
 (0)