Поделиться через


A couple helpful Team Foundation registry settings

Here's a couple of registry options that never made it into the UI anywhere that some of you may find useful.

Don't Automatically Reconnect

The first is a setting to control whether or not the Team Explorer and Source Control Explorer will automatically connect to a Team Foundation Server when Visual Studio starts up. This can be very handy if you need to restart VS often when doing add-in and package development and testing as well as situations where you are working offline.

Add a DWORD value called "AutoLoadServer" under HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\8.0\TeamFoundation. Zero means do not reconnect automatically. 

Don't Automatically Get Missing Files

The next setting is to control whether or not we attempt to automatically get files from the Team Foundation Server that are missing from a solution or project. This can be very helpful when you have files that are part of a project or solution but are generated by the build process as well as situations where you are working offline.

Add a DWORD value called DisableGetMissingFiles under HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\8.0\TeamFoundation\SourceControl or HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\8.0\TeamFoundation\SourceControl. Any value other than zero will disable getting files from the server automatically.

Comments

  • Anonymous
    March 14, 2006
    The comment has been removed
  • Anonymous
    March 15, 2006
    Tim Noonan posted a couple of registry settings that will boost up the performance of Visual Studio Team...
  • Anonymous
    March 17, 2006
    Rob Caron Blog Roundup:

    Organizing Team Projects
    Team System Wins Jolt Award
    Upgrading To Team Foundation...
  • Anonymous
    September 02, 2006
    If you're like me and you use a notebook at work to connect to Team Foundation Server throughout...
  • Anonymous
    April 03, 2008
    PingBack from http://ozgrant.com/2006/08/30/how-to-stop-auto-connecting-to-tfs/