Visual Studio 2013, TFS is very slow

后端 未结 12 1487
有刺的猬
有刺的猬 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:39

    Had this happen to me a few times now, so there are some things I'd like to add to the accepted answer.

    I work in a place where we have a lot of VS solutions with a lot of files in them. Microsoft's guidelines suggest that you shouldn't be using a local workspace if its going to have more than 100,000 items in it. So you could prevent this problem entirely by:

    1. Not using local workspaces
    2. Making sure never to map enough folders into a single workspace that it gets over 100,000 files associated with it.
    3. Periodically declaring "TFS bankruptcy" and unmapping everything.

    For me, the drawback of having to use strict locking and not having offline access makes #1 unacceptable. I'm going to try harder to do #2, but honestly #3 is what I've been living by.

    Its kind of like early Windows, where every year or so you had to just reinstall the OS to remove all the accumulated cruft.

提交回复
热议问题