The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 1,595 other followers

Archive for October 10th, 2012

Going through a HTTP Proxy to your TFS server using the command-line tools

Posted by jpluimers on 2012/10/10

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

via TFS Commandline utility.

Proxy Command.

Profile Command.

Pre-caching your TFS Proxy – Martin Woodward.

c# – How to connect to TFS via proxy programmatically? – Stack Overflow.

visual studio – Connecting to Team Foundation Server (TFS) with proxy authentication – Stack Overflow.

[ccnet-devel] Code consolidation – Ruben Willems – com.googlegroups.ccnet-devel – MarkMail.

–jeroen

via: Connecting Visual Studio 2010 to TFS over a Corporate Proxy (via: Visual studio 2010: cannot connect for any online resource – Stack Overflow) « The Wiert Corner – irregular stream of Wiert stuff.

Posted in Uncategorized | Leave a Comment »

 
%d bloggers like this: