Constantly get The local data store is currently in use by another operation when working on small projects

后端 未结 9 1881
灰色年华
灰色年华 2021-02-01 01:08

I use Visual Studio Team Services to store the source code of my projects as I work on them, I love the service, especially that it is free, but I have been running into the big

相关标签:
9条回答
  • 2021-02-01 01:40

    Lately I started to get same error message and Visual Studio started to work very slow with TFS and nuget. I have tried repair and uninstall but not solve the problem. At the and it was so painfully slow that I cannot continue working. (Expanding one item on source control explorer takes 10 seconds)

    Here is my story and how my problem be solved:

    I was mapped tfs folders separately not to get whole TFS because there are lots of irrelevant documents. After trying lots of fix suggestion, I thought this might be the problem because I did this separate mapping first time while I have been using TFS. I generally map and get all items at once and never met this issue before.

    I removed all mappings and it was like magic. Error is gone, slow TFS source control is gone and it is rocket fast now. Just to be in a safe side I also delete my workspaces and create a new one and get all TFS items at once.

    0 讨论(0)
  • 2021-02-01 01:41

    I did as mentioned below and TFS started working fine

    1. Close all the VS instances
    2. Go to: C:\Users[UserName]\AppData\Local\Microsoft\VisualStudio\15.0_46af8b8e
    3. Delete the privateregistry.bin file
    4. Reopen the project solution

    Above worked for me.

    0 讨论(0)
  • 2021-02-01 01:43

    Had the same problem,can be fixed in 3 quick steps:

    1. Remove current Workspace: Source Control Explorer->Work Space ListBox->workspaces... and remove the workspace.

      - Make sure that all pending changes are checked in

    2. Delete Workspace local folder.

      - Its Better to delete the folder entirely.If eventually keeping some folders make sure to delete all $tf folders (hidden folders inside the workspace folder)

    3. Remap the projects you need ( the less the better )

    Hopes that helps.

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