Visual Studio 2013, TFS is very slow

后端 未结 12 1572
有刺的猬
有刺的猬 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条回答
  •  慢半拍i
    慢半拍i (楼主)
    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.

提交回复
热议问题