When using Visual Studio 2005 to access Team Foundation Server source, you can configure the client to use the TFS Proxy Server. However, on a build server, you don't necessarily have Visual Studio. installed. Further, the setting is per user, so you'd have to log into the box as athe build service account, run Visual Studio, and configure the proxy setting.
So here's how you configure the build service to use your TFS Proxy server. Note that you still need to log into the box as the build service account, but at least you don't have to install Visual Studio.
- Log into the box as the build service account
- Add the following registry key and string values:
HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\8.0\TeamFoundation\SourceControl\Proxy]
"Enabled"="True"
"Url"="http://[tfs_server]:[tfs_port]"
- Restart the TFS Build service.
That's it!!