Aug 12, 2008 13:01
If you ever have to use MSBuild to copy files, beware the Exclude statement.
The following will copy all your *.scc files, even though you think they won't.
I think the Exclude statement uses the path in its pattern matching. So it is excluding all *.scc files in the current directory, not the Include directory path. Change the Exclude statement to include the path, and things appear to work as you might think they should.
Exclude="..\Code\**\*.scc" />