Stop Team Explorer Trying to Connect on Starting Visual Studio

Many thanks to Rob Sanders for pointing this one out.

If you're a road warrior like me and you aren't always connected to a Team Foundation Server then you probably want to stop Team Explorer's default behaviour of trying to connect to TFS when starting Visual Studio.  Waiting for Team Explorer to time out before realising that you really aren't connected to a network can be extremely annoying.

So whip out regedit and go do the following:

Add a DWORD value called AutoLoadServer under HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\8.0\TeamFoundation and set the value to 0.

This will fix the behaviour in Visual Studio 2005.  For Visual Studio 2008 use the ...\VisualStudio\9.0... keys instead.

 

Yay! Freedom at last! :-)

 

Reader Comments

Richard you've just saved me a world of pain, it's one of the biggest gripes I have with TFS.

Great tip!!!
Thanks

You can also use 'tfpt.exe tweakui' to do the same thing.

See my blog post on the topic:
http://ozgrant.com/2008/06/01/force-visual-studio-to-think-tfs-is-offline/

Grant

Post a Comment



Welcome

Thanks for dropping by. Enjoy your visit!

MVP Logo Visual Studio 2012 Cookbook
Find out more about Richard.

Richard on Twitter  
profile for Richard Banks on Stack Exchange, a network of free, community-driven Q&A sites

User Groups

My Open Source Projects

Podcast

Blog Archive