Here's a couple of MSBuild gotchas...
When specifying paths to your Include / Exclude ItemGroups make sure to use backslashes (\) I've found that forward slashes (/) seem to make the exclusion not work...my guess is that they compare it against the current search using back slashes on the search item, but not on my include item....haven't dug ...