For those who experience great delays when you do something that requires interaction with TFS (check, register, add a new one, rename, move, something), there may be many areas in TFS that can cause a problem. In my case, even the simplest TFS interaction in Visual Studio involves waiting 5-10 seconds. I decided to examine it using Process Monitor and found that every time TFS does something, it will iterate over each individual file in the TFS workspace, regardless of which projects were opened, or Source Control Explorer or Team was opened Explorer While @reticentKoala, I had 100,000 files with a total of over 17 GB in my workspace.
This is definitely a bug in the TFS client code (I am running VS2013, and our IT staff has been updated to any version of TFS associated with it), but, fortunately, it detects some workarounds.
In my case, I work on numerous projects, but usually only one or two at a time. By creating the Archive folder in a regular working folder and moving any projects that Iām not actively working on, I was able to reconnect TFS at a reasonable speed.
If you are actively involved in a much larger project that you cannot move around perforce, I can only think about possible solutions, but the main idea would be to simply reduce the number of files in your active workspace or their presence on your local machine.
source share