Visual studio is hanging on checking out items TFS

2019-08-08 13:26发布

I'm attempting to open a solution in a local workspace, and Visual Studio 2017 just hangs with this message in the lower left corner:

enter image description here

Here are my configurations:

enter image description here

enter image description here

How do I get my solution to build?

1条回答
贪生不怕死
2楼-- · 2019-08-08 13:54

It's not a good choice to keep a couple hundred thousand files in TFS local workspace.

When might I need to use a server workspace?

When you use a server workspace, Visual Studio keeps only one copy of each file. This can significantly reduce disk space usage and improve performance when you have a lot of items. We recommend that you use a server workspace if:

  • Your workspace contains more than 100,000 items.

  • You want to use Visual Studio 2010 or earlier versions to work with the workspace.

  • You need to use the Enable get latest on check-out option.

The documentation is from here. You should either use server workspace or create more granular local workspaces to work out this problem.

查看更多
登录 后发表回答