Error code 4 of xcopy states:
Quote:
Initialization error occurred. There is not enough memory or disk space, or you entered an invalid drive name or invalid syntax on the command line.
You need to investigate why that is being returned.
BTW I would strongly advise you do not manually edit your .csproj file, as it is easy to corrupt them. Only use the VS Properties pages.