# Unable to copy folder from package to Packages/Destination/

**URL:** <https://forum.opentap.io/t/unable-to-copy-folder-from-package-to-packages-destination/2607>\
**Category:** General\
**Created:** [January 8, 2026, 2:26am UTC](https://forum.opentap.io/t/unable-to-copy-folder-from-package-to-packages-destination/2607 "2026-01-08T02:26:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![rachel](https://avatars.discourse-cdn.com/v4/letter/r/46a35a/32.png) [@rachel](https://forum.opentap.io/u/rachel)\
**Post date:** [January 8, 2026, 2:26am UTC](https://forum.opentap.io/t/unable-to-copy-folder-from-package-to-packages-destination/2607/1 "2026-01-08T02:26:26Z")

</div>

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.

 ![image](https://us1.discourse-cdn.com/flex020/uploads/opentap/original/2X/9/958870968f29076335bc777f8daea231a7931c32.png)

---

<div class="post-metadata">

**Author:** ![rolf\_madsen](https://avatars.discourse-cdn.com/v4/letter/r/43a26b/32.png) [@rolf\_madsen](https://forum.opentap.io/u/rolf_madsen)\
**Post date:** [January 8, 2026, 8:36am UTC](https://forum.opentap.io/t/unable-to-copy-folder-from-package-to-packages-destination/2607/2 "2026-01-08T08:36:10Z")

</div>

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](https://github.com/opentap/opentap/issues/674). 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.
