pac solution pack with mapping file does not honor wildcards in file to file mapping
I am trying to pack a solution with a mapping file for JavaScript and plugin dlls. The mapping for the plugin dlls does not work with folder wildcards in FileToFile mapping. This worked well in older versions of the solution packager. The latest solution packager has the same bug.
<FileToFile` map=\"PluginAssemblies\**\this.dll\" to="..\..\Plugins\**\that.dll" />
Calling pac solution pack with such a mapping ends up with the following error message, even though the file exists.
Mapped file '..\..\Plugins\**\that.dll' doesn't exist. Skipping.
Replacing ** in the mapping by the correct folder path (e.g. Debug\net462) makes the packager work, but is not desirable.
strangely the file is added to the zip if I run this on my local machine, despite the error message. But if I run this on a devops server using the same version of pac (Version: 1.45.3+g427813b (.NET Framework 4.8.9310.0)) the plugin data.xml file is added to the zip instead of the dll.