Pre-build step in VS project getting run as one line

I'm currently looking at using TeamCity as a possible CI solution for my company. However, in trying to set up
I'm using TFS and MSBuild, and there a prebuild step in my proj files to cd to the $(ProjectDir) and then call ivy-retrieve to get the needed dependencies. If I just run msbuild on the command line, it all works fine, but running through Team City gives a return code of 1. I checked the Environment variables for my build agent and confirmed ivy was on the path. I did however notice that the error is "cd C:\TeamCity\buildAgent\work\5ce14ed0e5dab9a\etc ivy-retrieve" exited with code 1. Does this indicate that TC is trying to run the whole bit as a single command?

Thanks for any help you can offer.


Please sign in to leave a comment.