qetza / vsts-xdttransform-task

Visual Studio Team Services Build and Release extension that applies XDT transforms on XML files.
MIT License
20 stars 9 forks source link

Error trying to use wildcard #45

Open DaleyKD opened 1 year ago

DaleyKD commented 1 year ago

Perhaps I have it configured wrong, but I get an error when I try to use a wildcard.

Configured as such in the Transformations box:

ServiceConfiguration.Transform.xml => ServiceConfiguration.Cloud.cscfg
Wad.PublicConfig.Transform.xml => Extensions/*.PubConfig.xml
2023-01-16T20:24:25.0900710Z ##[section]Starting: Apply XDT transforms
2023-01-16T20:24:25.1058680Z ==============================================================================
2023-01-16T20:24:25.1058977Z Task         : XDT Transform
2023-01-16T20:24:25.1059123Z Description  : Apply XDT transforms on XML files
2023-01-16T20:24:25.1059300Z Version      : 3.1.0
2023-01-16T20:24:25.1059430Z Author       : Guillaume Rouchon
2023-01-16T20:24:25.1059607Z Help         : v3.1.0 - [More Information](https://github.com/qetza/vsts-xdttransform-task#readme)
2023-01-16T20:24:25.1059869Z ==============================================================================
2023-01-16T20:24:26.0778747Z Applying transformations 'D:\a\r1\a\GRM\GRM\CloudDev\Web\ServiceConfiguration.Transform.xml' on 'D:\a\r1\a\GRM\GRM\CloudDev\Web\ServiceConfiguration.Cloud.cscfg' to 'D:\a\r1\a\GRM\GRM\CloudDev\Web\ServiceConfiguration.Cloud.cscfg'...
2023-01-16T20:24:26.2164139Z Applying transformations 'D:\a\r1\a\GRM\GRM\CloudDev\Web\Wad.PublicConfig.Transform.xml' on 'D:\a\r1\a\GRM\GRM\CloudDev\Web\Extensions\*.PubConfig.xml' to 'D:\a\r1\a\GRM\GRM\CloudDev\Web\Extensions\*.PubConfig.xml'...
2023-01-16T20:24:26.5765533Z ##[error]Exception calling "Load" with "1" argument(s): "Illegal characters in path."
2023-01-16T20:24:26.5971442Z ##[section]Finishing: Apply XDT transforms
teajdowns commented 1 month ago

I am also having this issue.