Wondering why your post-build xcopy not working?
From Microsoft Connect
Thanks for reporting this bug. Unfortunately, after much investigation, we (MSBuild team) discovered that this is actually a documented bug in xcopy.exe. The owners of xcopy.exe claim that this bug is not worth fixing, and so there's not much we can do at this point.
However, the good news is that there is a fairly simple (though completely non-intuitive and non-discoverable workaround), and that is to append "<NUL:" to the end of your xcopy command. So, in your case, just do this:
xcopy "$(TargetDir)*.*" "$(SolutionDir)..\bin\" /S /I /F <NUL:
and that should work for you.
If...