title: Visual Studio 2013 slows down + crashes when using Source Control features
body: <p>I have spent two full days trying to resolve this issue but no luck so here we go,</p>
  
  <p>I have created a project using <strong>Visual Studio Team Foundation Server</strong> plug-in in the past. Later on I switched to <strong>Microsoft Git Provider</strong>.</p>
  
  <p>Now when I connect to that project in the Team Explorer and double click on the solution to work on it locally it somehow changes the plug in to Microsoft Git Provider automatically and of course I can't Commit/Commit and Push since I receive following error in the Team Explorer,</p>
  
  <blockquote>
    <p>An error occurred. Detailed message: Failed to open directory
    'C:/Users/.../AppData/Local/Application Data/'</p>
  </blockquote>
  
  <p>Manually changing the plug-in to the Visual Studio Team Foundation Server results in a broken Team Explorer as below,</p>
  
  <p><img src="https://i.stack.imgur.com/0jDqP.jpg" alt="enter image description here"></p>
  
  <p>With Settings leading to an empty pane, and also a warning in the Team Explorer's Changes page telling me the message below if I click on Pending Changes...</p>
  
  <blockquote>
    <p>Microsoft Git Provider is not the current Source Control plug-in.
    Change Plug-in</p>
  </blockquote>
  
  <p>And manually selecting the solution from Solution Explorer, right click and <strong><em>Add Solution to Source Control</em></strong>, leads to never ending hour glass and (Not responding) visual studio.</p>
  
  <h2>New Projects</h2>
  
  <p>Creating a new project is straight forward, unless I "Add to Source Control" is checked. If so, again never ending process if Microsoft TFS plug-in is selected in the tools and eventually me Ending the Visual Studio task. And a VERY long process (40+ mins) if I have chosen Microsoft Git but that finishes successfully rather.</p>
  
  <h2>New TFS project from Team Explorer</h2>
  
  <ul>
  <li>If I create a new project in my Online Web Studio</li>
  <li>Click on Open with Visual Studio Link => Opens and connects to a my
  newly created TFS in team explorer.</li>
  <li>Clicking new in Team Explorer under Solutions to create a new
  solution and bind it to this Repo,</li>
  </ul>
  
  <p>leads to straight crash of Visual Studio and restarting attempt of VS.</p>
  
  <p>So I really can't use Source Control from visual studio other than cloning GitHub's existing repo's on Visual Studio and Committing my current Microsoft Git managed projects.</p>
  
  <h2>I have attempted</h2>
  
  <ul>
  <li>Repairing Visual Studio (no luck in results)</li>
  <li>Devenv.exe /setup (no luck)</li>
  <li><p>Trying to scrap the SCC info on my solution then at least it won't
  get picked up by source control then I can Check it in as a new
  project. (no luck and the solution picks the Microsoft Git upon
  opening it by clicking on the .sln file.) <a href="https://stackoverflow.com/a/16249677/1316651">I have followed these steps
  in this stack overflow answer</a>.</p>
  
  <p>And lots of mucking around like removing my workspaces almost Thousand times and putting them back, binding and etc.</p></li>
  </ul>
  
  <h2>Visual Studio log file</h2>
  
  <p><a href="http://filesave.me/file/50620/log-txt.html" rel="nofollow noreferrer">http://filesave.me/file/50620/log-txt.html</a>.</p>
  
  <p>I am really stuck on this and it's holding me back from staring a new project (which is problematic when Adding to Source Control is ticked) and unfortunately is dependent on the old project (which is developed under Visual Studio Team Foundation Server Plug-in which is throwing tantrums)</p>
  
  <p>Would like to hear you pro-s input on this</p>