TFS 注释错误 [英] TFS Annotation Error
问题描述
我最近进行了 TFS 2015 到 2017 升级,现在每当我尝试执行源代码管理时都会出现此错误->从 Visual Studio 解决方案资源管理器进行注释:
I've recently had a TFS 2015 to 2017 upgrade, and now I have this error whenever I try to do a Source Control->Annotate from the Visual Studio Solution Explorer:
注释错误
m_itempath 或 m_versionControl 未设置
m_itempath or m_versionControl not set
如果我尝试从文件编辑器运行注释,我会收到不同的错误:
If I try to run the annotate from the file editor, I get the different error:
注释错误
无法确定文件 C:\... 的工作空间
Unable to determine the workspace for the file C:\...
使用 Visual Studio Enterprise 2015.这是一个服务器工作区,所有其他操作似乎都正常工作.
Using Visual Studio Enterprise 2015. This is a Server workspace, and all other operations seem to work as normal.
推荐答案
大部分解决方案
未能为我工作.
这确实有效:
- 转到源代码管理资源管理器
- 右键单击映射的文件夹
- 选择高级->删除映射"并按照提示操作.忽略冲突屏幕.
- 选择高级->映射到本地文件夹"并映射回现有文件夹.
- 解决任何悬而未决的冲突.
此后,注释再次起作用.
After this, the annotations worked again.
这篇关于TFS 注释错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!