How do I get my solution in Visual Studio back online in TFS?

前端 未结 9 598
别跟我提以往
别跟我提以往 2020-12-07 11:07

I had my solution in Visual Studio 2012 (which is under TFS source control) open and the TFS server (2010) was down. When I then made a change to one of the files and attemp

9条回答
  •  心在旅途
    2020-12-07 11:22

    (Additional step from solution above for if you are missing the AutoReconnect or Offline registry value)

    For Visual Studio 2015, Version 14

    1. Turn off all VS instances
    2. HKEY_CURRENT_USER\SOFTWARE\Microsoft\VisualStudio\14.0\TeamFoundation\Instances{YourServerName}\Collections{TheCollectionName} (To get to this directory on Windows, hit the Windows + R key and search for "regedit")
    3. Set both the Offline and AutoReconnect values to 0.
    4. If you are missing one of those attributes (in my case I was missing AutoReconnect), right click and and create a new DWORD(32-bit) value with the desired missing name, AutoReconnect or Offline.
    5. Again, make sure both values are set to zero.
    6. Restart your solution

    Additional info: blog MSDN - When and how does my solution go offline?

提交回复
热议问题