git - 无法在代码镜头 : Unable to determine the team project collection 中看到 vsts 工作项

标签 git visual-studio visual-studio-2017 azure-devops codelens

我收到以下错误:

Unable to determine the team project collection. Please connect to the appropriate team collection and try again

我仔细检查了我的工作帐户是否已添加到 visual studio,我也使用它来访问 VSTS:

vs accounts

为什么会出现此错误?

最佳答案

您已连接到本地 git 存储库,因此没有 VSTS 的设置。

关于 TFVC 问题:

  1. 从解决方案文件中删除 GlobalSection(TeamFoundationVersionControl) = preSolution ... EndGlobalSection 代码
  2. 从项目文件中删除...(例如 SccProjectName)。
  3. 删除 .vspscc 文件。连接到 VSTS git 存储库: 1. 打开团队资源管理器=>连接窗口=>管理连接=>连接到团队项目=>在团队项目中选择一个 git 存储库=>单击连接

关于git - 无法在代码镜头 : Unable to determine the team project collection 中看到 vsts 工作项,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46568357/

相关文章:

C++ 模板方法重载和具有多态性的类访问

windows - Git 扩展无法识别 Github RSA 签名

ruby-on-rails - 在 windows 上开发,在 heroku 上运行 unicorn

windows - 在 Windows 上的 Rubymine 中通过 ssh 设置 git

C# 添加新子对象时更新父对象

asp.net - 错误请求 - Visual Studio 2013 中的 Asp.net WebAPI 项目的主机名无效

git - "unknown revision or path not in the working tree"尝试获取特定提交到新目录时

visual-studio - 如何在调试时不按 fn 键使用功能键

visual-studio-2017 - VS 模板参数 : Get partial project name

Visual Studio 2017 中的 Python 无法通过搜索路径找到模块