views:

65

answers:

1

Hi folks,

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'?

+1  A: 

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.

Mike Chaliy