A while ago, I wrote on Connecting Visual Studio 2010 to TFS over a Corporate Proxy and all the trouble that took.
This time, I’m going further, and use the commandline tools.
TFS Top Tip #12 – Specifying a proxy server at the command line – Martin Woodward.
If you have setup the Proxy in the Team Explorer GUI, a registry entry will be created and TF.exe should use that setting. Alternately you could add an Environment Variable to your system or at the command line.
You can check if you have the registry setting-
HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\9.0\TeamFoundation\SourceControl\Proxy
Should have a string value called URL and one called ENABLED
If you have not used the GUI and do not have the registry setting, try-
From your script of command line issue this before using tf.exe-
set TFSPROXY=http://ProxyServerAddress:8081
or add an Environment Variable to your system
Variable Name- TFSPROXY
Value- http://ProxyServerAddress:8081
Pre-caching your TFS Proxy – Martin Woodward.
c# – How to connect to TFS via proxy programmatically? – Stack Overflow.
[ccnet-devel] Code consolidation – Ruben Willems – com.googlegroups.ccnet-devel – MarkMail.
–jeroen