mirror of
https://github.com/jamesstringer90/appsandbox.git
synced 2026-10-22 11:03:15 -05:00
Every PostBuildEvent xcopy command ended a quoted path with a trailing backslash (e.g. "$(OutDir)resources\"). cmd.exe / CommandLineToArgvW interpret the \" as an escaped literal quote, so xcopy receives a path with an embedded " and an unclosed quote state - works fine when no quotes are needed (no spaces in the path) but fails the moment the parent path contains a space. Drop the trailing backslash on each destination; xcopy /I infers "directory" without it. For the bare "$(OutDir)" case, append a . so the closing quote isn't preceded by a backslash.