The include (and exclude) lists in the Copy Files action are used as masks, meaning they only define the patterns a file must match to be included or excluded (respectively). No logic is included to enforce the existence of actual files matching these mask values.
One way to enforce the existence of files in a build is with a simple Run Script step (attached is an example build demonstrating this technique).
|