TFS express 错误:工作文件夹 C:\LocalFolder 已在使用中 [英] TFS express error: The working folder C:\LocalFolder is already in use

查看:27
本文介绍了TFS express 错误:工作文件夹 C:\LocalFolder 已在使用中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用 VS 2015 并且我正在开发一个项目,该项目在 C:\LocalFolder 上有一个本地工作区映射到 $/ServerFolder

I am using VS 2015 and I am working on a project that has a local workspace on C:\LocalFolder mapped to $/ServerFolder

在我尝试探索源代码管理时,VS 2015 在某个时候崩溃了,所以我不得不终止 devenv.exe 进程......

At some point VS 2015 crashed while I was trying to explore the Source Control, so I had to kill the devenv.exe process...

接下来,当我重新打开解决方案时,工作区没有映射!本地路径:未映射

Next, when I reopened the solution, the workspace is not mapped! Local Path: not Mapped

因此,我尝试重新映射文​​件夹,但出现此错误:

So, I have tried to re-map the folder, but I get this error:

工作文件夹 C:\LocalFolder 已被工作区使用COMPUTER_NAME;计算机COMPUTER_NAME

The working folder C:\LocalFolder is already in use by the workspace COMPUTER_NAME;User on computer COMPUTER_NAME

编辑

按照某人的建议,我尝试清除缓存:

Following someone's advice I have tried to clear the cache on:

C:\Users\用户名\AppData\Local\Microsoft\Team Foundation\6.0\Cache\

C:\Users\username\AppData\Local\Microsoft\Team Foundation\6.0\Cache\

已删除所有文件夹内容,但出现相同错误.

Deleted all the folder content, but got the same error.

推荐答案

在 TFS 中,一个本地文件夹只能映射一个工作区.您可能没有选择正确的工作区.

In TFS, one local folder can only map one workspace. You may not select the correct WORKSPACE which you are working on.

在 Visual Studio 中打开源代码管理资源管理器,单击下拉按钮.选择您之前正在处理的工作区.(对于您,COMPUTER_NAME)

Open Source Control Explorer in Visual Studio , click drop down button. Select the workspace which you are working on before.(For you ,COMPUTER_NAME )

这篇关于TFS express 错误:工作文件夹 C:\LocalFolder 已在使用中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆