tfs - CodeLens 只显示引用?

标签 tfs visual-studio-2015 codelens

我安装了 Visual Studio 2015 Enterprise RTM 并且只看到来自 Code Lens 的“引用”。我们正在使用 TFS 进行源代码控制。我希望看到来自 TFS 的相关提交。 Based on this article ,我在选项中启用了所有功能:

enter image description here

这是我在 VS 中看到的:

enter image description here

我的 VS 设置有什么问题吗?

最佳答案

作为 CodeLens 一部分的 TFVC 镜头仅在连接到运行生成历史数据的后台作业的 Team Foundation Server 版本时才起作用。这意味着您至少需要运行 TFS 2013 或 2015 才能运行此功能。某些功能需要 specific version of Visual Studio .

也有可能是您的 server admin has disabled indexing on the server , 可以使用 tfsconfig codeindex 做到这一点应用层上的命令。

关于tfs - CodeLens 只显示引用?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31570140/

相关文章:

visual-studio - 如何配置 TFS Build : MSBuild Arguments: Publish Profile: File System

c++ - pcl_visualizer.cpp 与 2015 构建错误

visual-studio-2015 - Visual Studio 2015工具提示颜色

visual-studio-code - 接受未出现在 VS Code 中的传入更改(VS Code 版本 1.61.2)

c# - 如何访问工作项链接和附件历史记录

tfs - Team Build,复制文件目标问题

visual-studio - Codelens Visual Studio 2015 社区

visual-studio - CodeLens 不显示引用文献

visual-studio-2012 - 使用 VS2013 在 TFS 中进行时间跟踪

c# - 如何在 Visual Studio 中创建 csx 文件?