What actions does the sln2008 builder take? How can I simulate it from the command line?

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.

1 comment
Comment actions Permalink

It create an msbuild script file with extension tcprojx.

Please attach configuration parameter: 'teamcity.agent.dotnet.debug' with value 'true' in the build configuration setting to enable dumping of generated build
script files.

Otherwise, this file is created near .sln file and can be accessible while build is running.

0

Please sign in to leave a comment.