Try running the bat script directyly from the command line with your solution dir and "debug" or "release" as argument. Of course, the output structure needs to be built before.
Perhaps there is some environmental differences. Running the script directly from the command line should give you enough info about that.
Good luck. |