Closed NArnott closed 6 years ago
I was getting the same error. I changed the Search Path to $(Build.SourcesDirectory)\**\*.csproj
and it started working for me.
I think it would be good if the author could provide a better example, as looking at the source file here within the comments (lines 1-100) also indicates that some sort of root directory is required.
Thanks! Minimatch expressions (like double *) are not allowed.. I've updated the example screenshot to reflect that!
Looks good - thank you!
Good news! We now support MINIMATCH patterns in Version 3.0!
When I run this task, using a simple filter *\.csproj, I get the following error. I've tried different variations of this, but all provide the same error.
Task : RegEx Find & Replace Description : Find & Replace using Regular Expressions Version : 2.0.1 Author : knom Help : More Information
Search Pattern is *\.csproj
Exception calling "GetDirectoryName" with "1" argument(s): "The path is not of a legal form."