Resolves one or more wildcard patterns to file paths.
The task will discover all files that are matched by the specified Wildcard argument. It returns a FileCollection that contains the paths. The result object can be passed to tasks which support it. Usually tasks support wildcards directly, but in some cases using this task can be advantageous.
The returned object can be iterated over using foreach loops. The actual paths of the files can be accessed using the Path field on the returned elements. The task wildcards match files and directories both.
Summary
Parameters
The directory path to resolve relative wildcards against.
If this argument is relative, it will be resolved against the working directory.
Collection of WildcardPath
Aliases:
Wildcards
Required parameter.
One or more wildcards to resolve.
Relative wildcards will be resolved against the optional Directory argument.