Visual Studio 2013, TFS is very slow

2019-03-10 16:46发布

When I originally installed VS Ultimate 2013 everything was fine but for the last month or so it's been a dog. The source control explore in my Visual Studio 2013 install is very slow. Just clicking on a node and the act of displaying the node contents takes 20+ seconds.

Everyone else on the team is ok so it's not the TFS server it's just my install. I assumed it was some addin I'd installed into VS so disabled them but no luck.

Any ideas?

11条回答
我欲成王,谁敢阻挡
2楼-- · 2019-03-10 17:26

Cleaning up the Workspace was the solution for me, when opening visual studio 2015 the Source Control Window will remain in a Loading phase, I had 2 workspaces name and name_1 and I removed both. No need to delete the entire folder, though , keep in mind that if you do delete the workspace and have the files, you will need to force the get latest to be on the safe side

查看更多
Ridiculous、
3楼-- · 2019-03-10 17:28

In my case, the only way to get rid of the lag was to change my workspace location from "local" to server. You can do this under the advanced options for your workspace.

查看更多
Emotional °昔
4楼-- · 2019-03-10 17:30

The 'full blast' solution that worked for me was;

  • remove workspace
  • delete all source code
  • rebuild the workspace
  • rebuild solution

Only takes a few minutes more than just rebuilding the workspace (see @DaveF's answer) but gave me a bit more confidence that everything hangs together.

查看更多
Bombasti
5楼-- · 2019-03-10 17:31

Cleaning local folders helped: See 'Team Explorer - Pending Changes', under 'Excluded Changes' it said: 'Detected: 50000 add(s)'. Click it to see path to folders.

查看更多
女痞
6楼-- · 2019-03-10 17:35

This make me crazy too for over six months until I found this instruction. Now, my VSO is fling. Note: this information I copy from somebody. Would like to give them credit but I cannot remember how did I find this.

You can fix this problem of TFS by editing registry. Navigate to key HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\12.0\TeamFoundation\SourceControl\Proxy and then change value of URL to any dummy website like 'www.abcdummy.com' Restart VS after editing registry key value.

查看更多
登录 后发表回答