Compilation will fail using VS2010 if the build directory contains spaces with
an error similar to
error MSB3073: command "copy C:\Documents and
Settings\Alessandro\Desktop\CrashRpt\thirdparty\dbghelp\bin\dbghelp.dll
C:\Documents and Settings\Alessandro\Desktop\CrashRpt\bin\
:VCEnd" exited with status 1.
as some pre- and post-compilation commands include improperly escaped
parameters.
To reproduce the problem, open the CrashRpt_vs2010 solution and build it,
making sure that the build directory contains spaces in its name.
To fix it, escape (add double quotes) in the "copy" commands in the following
projects:
1) CrashSender
2) crashcon
3) crashrpttest
The "copy" commands used in pre- and post-generation commands should be changed
like this:
from
copy $(SolutionDir)thirdparty\dbghelp\bin\dbghelp.dll $(OutDir)
to
copy "$(SolutionDir)thirdparty\dbghelp\bin\dbghelp.dll" "$(OutDir)"
(note the added quotes).
Original issue reported on code.google.com by alessand...@hotmail.it on 26 Jul 2011 at 5:30
Original issue reported on code.google.com by
alessand...@hotmail.it
on 26 Jul 2011 at 5:30