【问题标题】:Clone git repo from Azure DevOps UI launches Visual Studio 2017 instead of Visual Studio 2019从 Azure DevOps UI 克隆 git 存储库启动 Visual Studio 2017 而不是 Visual Studio 2019
【发布时间】:2020-05-09 11:16:51
【问题描述】:

来自Microsoft Developer Community 的总结,因为其他人可能面临同样的问题。

总结

步骤

  • 转到 Azure DevOps 中的存储库主页。
  • 点击克隆按钮。
  • 从 IDE 下拉菜单中,选择在 Visual Studio 中克隆

预期结果

启动 Visual Studio 2019 以克隆存储库。

实际结果:

启动 Visual Studio 2017 以克隆 repo。

解决方法

启动 VS 2019,从那里克隆。

已安装软件

  • Visual Studio Enterprise 2019 16.4.3(带有 git for Windows 组件)
  • Visual Studio 企业版 2017 15.9.19

【问题讨论】:

    标签: git visual-studio azure-devops visual-studio-2019 azure-repos


    【解决方案1】:

    推出的 Visual Studio 版本确定于:

    • Windows 设置 > 默认应用 > 按协议选择默认应用。

    来自https://developercommunity.visualstudio.com/comments/892419/view.html的详细信息

    【讨论】:

    • 感谢分享答案,这个问题已经解决了,你可以接受你的psot作为答案。谢谢!
    • 嗨@YangShen-MSFT!这是一个可靠的解决方法,但我不清楚大多数用户如何发现这个解决方案。这就是为什么我很遗憾社区问题已关闭。
    • 对我来说,有 3 种不同的选择器可供选择——所有选择器都具有完全相同的图标。我推测它们可能按字母顺序列出,因此使用列表中的最后一个来获得 VS 2019,它有效。
    猜你喜欢
    • 1970-01-01
    • 2019-07-13
    • 2021-04-03
    • 1970-01-01
    • 1970-01-01
    • 2017-07-31
    • 2021-11-16
    • 1970-01-01
    • 2019-12-13
    相关资源
    最近更新 更多