We have a post-build event command set up for a target that just echos variables to a file.
This is the command:
Code: Select all
echo "$(TargetName)|$(ProjectDirectory)|$(OutputDirectory)" > %appdata%\mcoutput.fldat
On my machine, I can build targets via the GUI in Flare and also via the command line, and the post-build event command always completes successfully. However, on my co-worker's machine, the post-build event command only completes successfully if he builds the target from within the Flare GUI. If he builds the target from the command line he receives an error:
Code: Select all
Running Post-Build Event Command...
Run Command Error: 'echo' is not recognized as an internal or external command,
Run Command Error: operable program or batch file.
What could be causing this issue? I know it's not an issue with the actual post-build event command because it works on my machine. I don't think it's an environment variable issue since he has the exact same environment variables configured that I do. Also echo does work on his command line as we tested it to confirm. We're not sure what could be causing this issue and we've run out of things to troubleshoot, can anyone provide some suggestions?