Post Build exited with code 1

Tim Scott picture Tim Scott · Nov 21, 2008 · Viewed 162.1k times · Source

I have a project with a post build event:

copy $(ProjectDir)DbVerse\Lunaverse.DbVerse.*.exe  $(TargetDir)

It works fine every time on my machine. I have a new developer who always gets the "exited with code 1" error. I had her run the same command in a DOS prompt, and it worked fine. What could be causing this? Is there any way to get to the real error?

We are both using Visual Studio 2008.

Answer

Tim Scott picture Tim Scott · Nov 21, 2008

She had a space in one of the folder names in her path, and no quotes around it.