Visual Studio 2013, TFS is very slow

后端 未结 12 1481
有刺的猬
有刺的猬 2021-02-01 15:12

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 ve

相关标签:
12条回答
  • 2021-02-01 15:28

    Getting Latest was soooooo slow. I was using a Colleagues PC and had deleted his Workspace.

    After an hour waiting to get latest I got an error and realised my User Account didn't have Full Control on the folder, giving Write Access made Get Latest run x1000 faster:

    0 讨论(0)
  • 2021-02-01 15:32

    I had the same problem, it kept me busy for a week or so, but after investigating my complete setup i found the following:

    Within my ASP.NET application, i had an image directory and an image cache directory, with lots of images in them. (+200.000). Both were not included in my VS project, but still Visual Studio / TFS tripped over this.

    First i found, that when checking in some files (which took over 10 minutes when the problem existed), in 'Team Explorer - Pending Changes', under 'Excluded Changes' it said: 'Detected: 50000 add(s)'. Trying to get rid of this the 'normal way', by opening that 'Promote Candidate Changes' window and setting these files to be ignored, still didn't do much. But after moving those image directories to some other location, outside my project, all problems disappeared. Of course i had to add those moved directories as virtual directories to still see my images.

    0 讨论(0)
  • 2021-02-01 15:33

    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.

    0 讨论(0)
  • 2021-02-01 15:36

    Just to throw another solution in the mix! I had the same problem which seemed to be caused by several layers of working folders configured in my workspace (some overlapping ones too).

    The issue was resolved by going to Manage Workspaces, then Edit and then removing the additional folder bindings.

    0 讨论(0)
  • 2021-02-01 15:38

    Having tried all suggestions, unloaded all add ons, tried to reinstall VS, removed all extra workspaces etc. the answer to my problem was to unmap my workspace and then remap it. Problem solved. Not got a clue what the underlying fault was.

    0 讨论(0)
  • 2021-02-01 15:39

    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.

    0 讨论(0)
提交回复
热议问题