http://bugs.winehq.org/show_bug.cgi?id=30205
--- Comment #4 from Klaus Weidner Klaus.Weidner@gmail.com 2013-07-25 16:19:31 CDT --- I think I figured out what's going on. The Unity editor is calling SHFileOperation and is checking the fAnyOperationsAborted field of the ops struct, and this field apparently doesn't get reliably initialized to false for successful calls.
The following patch fixed it for me, I can now successfully build projects.
$ diff -u dlls/shell32/shlfileop.c.orig dlls/shell32/shlfileop.c --- dlls/shell32/shlfileop.c.orig 2013-07-25 14:14:17.823626457 -0700 +++ dlls/shell32/shlfileop.c 2013-07-25 14:13:49.591626494 -0700 @@ -1542,6 +1542,7 @@ op.req = lpFileOp; op.bManyItems = (flFrom.dwNumFiles > 1);
+ lpFileOp->fAnyOperationsAborted = FALSE; switch (lpFileOp->wFunc) { case FO_COPY: