Unable to copy folder from package to Packages/Destination/

I want to copy two folders with files inside to my OpenTAP/Package/ABC folder. But once I install the tappackage, it copies my file to the root level same with OpenTAP. How to make it to copy to the target file? The below is the example plugin code. The dll was copied to the correct target destination but the folders are not.

Hi @rachel,

Unfortunately, source wildcards are not currently supported. If SourcePath is set and wild cards are being used, the source path will be ignored.

There is an issue on something similar here: Package specifications support destination path when adding files using glob expressions · Issue #674 · opentap/opentap · GitHub. It sounds like solving this issue would fix it for you was well.

For now I suggest you move the files to the final location before creating the package. This might require calling tap package create separately from running dotnet build or working with build actions in the csproj file.