Just a quick note to let you know that I've updated my guide on Setting up Source Server for TFS Builds, since I just found out that there is an issue with Build Definitions that contain spaces. The fix is fairly easy though:
- In TFIndex.cmd (on the build server), remove the quotes around the
%1 argument for SYMBOLS:
@call "%~dp0SSIndex.cmd" -SYSTEM=TF -SYMBOLS="%1" %*
@call "%~dp0SSIndex.cmd" -SYSTEM=TF -SYMBOLS=%1 %*
- In the Team Build Script (in Source Control), add XML-escaped quotes around the
$(BinariesRoot) argument:
<Exec Command=""C:\Program Files\Debugging Tools for Windows\sdk\srcsrv\TFIndex.cmd" $(BinariesRoot)"
WorkingDirectory="$(SolutionRoot)" />
<Exec Command=""C:\Program Files\Debugging Tools for Windows\sdk\srcsrv\TFIndex.cmd" "$(BinariesRoot)""
WorkingDirectory="$(SolutionRoot)" />
For the full setup instructions, please refer to the original post on Setting up Source Server for TFS Builds.