TFS & Visual Studio ALM – by Neno Loje

(formerly Team System, VSTS)

Disable auto-connect to TFS on VS startup

June 29th, 2009 · No Comments · Team Explorer, Team Foundation Server, TFS Tips and Tricks

When starting Visual Studio it automatically tries to connect to your TFS, which can be very annoying if you work offline. You will probably see:

TF30331: Team Explorer could not connect to the Team Foundation server …

You can turn this auto-connect behavior off by setting the following files in the registry:

HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\9.0\TeamFoundation
"AutoLoadServer" = 0

Zero means do not reconnect automatically. 

Source: http://blogs.msdn.com/hippietim/archive/2006/03/14/551320.aspx

Downside: you now always have to manually connect (from Team Explorer’s toolbar)

Download .REG file: NoAutoLoadServer.zip

P.S. The Team Foundation Power Tools (TFPT) include a feature called Tweak UI which offers a checkbox to set this registry key – however in the October 2008 version it has a bug (creaing a string value instead of DWORD) and therefore will not work.

Tags:

No Comments so far ↓

There are no comments yet...Kick things off by filling out the form below.

Leave a Comment