title: Visual Studio loses connection to TFS
body: <p>I use Visual Studio 2015 and connect throught a VPN to a TFS 2015.
  It happens that the VPN disconnects, when it happens VS loses the connection to TFS. When the VPN reconnect, I can't connect back to TFS, I get an error: "The remote name could not be resolved". The only way to reconnect is to close VS and relaunch it.</p>
  
  <p>I guess it's not that bad since it does not happens often.</p>
  
  <p>But recently, the error started to happen regularly, even when there is no drop in the connection. I get the same error as before and I can't "just" reconnect to TFS, I need to restart VS.</p>
  
  <p>Following advices from <a href="https://stackoverflow.com/questions/15920440/visual-studio-2012-keeps-losing-connection-with-tfs-2010">this question</a>, I cleared my cache in this directory:</p>
  
  <pre><code>%LOCALAPPDATA%\Microsoft\Team Foundation\6.0\Cache
  </code></pre>
  
  <p>I also tried to install Power Tools for TFS 2015 to launch the "Best Practices Analyzer Tool" only to find out <a href="https://marketplace.visualstudio.com/items?itemName=TFSPowerToolsTeam.MicrosoftVisualStudioTeamFoundationServer2015Power" rel="nofollow noreferrer">it was no longer supported</a> in this version.</p>
  
  <p>I would continue to blame the VPN or some other network micro cuts, but my colleagues on the same network don't have these issues.</p>
  
  <p>Any idea of the cause of this issue or a way to make VS more resilient ?</p>
  
  <p>What I don't get is why the reconnect fails, and why it works only when I restart VS. If I could just reconnect to TFS without restarting, it would already be a major plus.</p>