Question

I have Debug|Any CPU and Release|Any CPU as my two configuration types. Is there any way I can tell the TFSBuild which one to 'build'?

Was it helpful?

Solution

Undocumented switch msBuildArguments:

TFSBuild.exe start /queue %TFSSVR% %TEAMPROJECT% %BUILDTYPE% /msBuildArguments:"/p:Configuration=Debug"

Or documented text file with name TFSBuild.rsp near your build script and with content:

/p:Configuration=Debug

EDIT:
each line can have one /p:XXXXX build argument.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top