I have a fairly complex Visual Studio solution that contains a mix of standard C# projects and C++ projects built through nmake projects. It builds on the build agent through the IDE and also builds in the working directory if I run msbuild with the same configuration I'm passing to the sln2008 builder. When I trigger the build through the server however the build fails with the uninformative error "Project error PRJ0019: A tool returned an error code from "Performing Makefile project actions"". There's nothing else in the build log to indicate what the failure is.
It seems that the sln2008 builder is running msbuild using different parameters than what I'm specifying when I try to reproduce the errors by running it from the command line. Is there any way to see exactly what steps the builder is taking and what command lines it is using? The commands issued by the sln2008 builder to initiate the build don't seem to appear in the build log so I can't easily reproduce the failure with a command line build.