There is an unsaved comment in progress. You will lose your changes if you continue. Are you sure you want to reopen the work item?
Incorrect match of <file src="..\**" exclude="**\mask">
Algorithm for matching excluded files does not work correctly when "src" path points outside of current directory.
The following definition will not exclude the desired file:
<file src="..\Another**" exclude="\exclude.me" target="Content\Another" />
The workaround is to incude "..\" in the exclude match:
<file src="..\Another*" exclude="..*\exclude.me" target="Content\Workaround" />
If the proper fix is too difficult, then the user should be at least informed, that the exclude pattern will not work (i.e. if src starts with "..\" and exclude mask starts with "**" then report a warning or an error).
I have attached a simple case for reproducing the bug.