连接 Visual Studio 到 Azure DevOps 时发生错误。

huangapple go评论85阅读模式
英文:

Error while connection Visual Studio to Azure Devops

问题

我试图将我的Visual Studio连接到Azure DevOps中的存储库。我在git bash上运行了代理配置命令,它成功了。我尝试管理连接并连接到一个存储库。最终在Visual Studio“安装”中弹出了一个错误消息,那就是整个消息 😆。

我找不到与此相关的任何信息。接下来我可以尝试什么?

英文:

I'm trying to connect my Visual Studio to a repository in Azure DevOps. I did run the command of the proxy config on the git bash and it worked. I tried to manage connections and connect to a repository. It ended up throwing an error message inside Visual Studio "installation" that's the whole message 😆.

I can't find anything related to it online. What can I try next?

答案1

得分: 0

I assume that your command for the proxy config you ran in your git bash is something like this:
git config --global http.proxy http://proxyUsername:proxyPassword@proxy.server.com:port

If you try to connect your Visual Studio with your Azure DevOps project, this is more than pure git. So just setting the proxy for git will not work. Consider updating your Visual Studio proxy settings as described here.

英文:

I assume that your command for the proxy config you ran in your git bash is something like this
git config --global http.proxy http://proxyUsername:proxyPassword@proxy.server.com:port

If you try to connect your Visual Studio with your Azure DevOps project this is more than pure git. So just setting the proxy for git will not work. Consider updating your Visual Studio proxy settings as described here.

答案2

得分: 0

以下是翻译好的内容:

> 连接 Visual Studio 到 Azure DevOps 时出错

要解决在代理后连接 Visual Studio 到 Azure DevOps 的问题,您可以设置一个名为"HTTP_PROXY"的环境变量

它遵循与 Team Explorer 相同的配置方案。在设置变量后,如果在更改环境时已打开了 Visual Studio,请重新启动它。

查看文档设置环境变量(Team Explorer Everywhere)以获取更多详细信息。

证书来源:配置 Git 以在 Visual Studio 中使用代理服务器

希望对您有所帮助。

英文:

> Error while connection Visual Studio to Azure Devops

To resolve the connection Visual Studio to Azure Devops behind the proxy, you could set an Environment Variable called "HTTP_PROXY".

It follows the same configuration scheme as Team Explorer. After setting the variable, restart Visual Studio if you had it open when changing the environment.

Check the document Set Environment Variables (Team Explorer Everywhere) for some more details.

Certificate source: Configure Git for Visual Studio to use a proxy server.

Hope this helps.

答案3

得分: 0

"installation"的消息。我通过再次移除Git并下载,然后运行代理配置命令,重启Visual Studio来解决了这个问题。哇,它像魔法一样正常运行了 👌。

英文:

So the message was "installation". I solved it by removing the Git again and download it then run the proxy config command and restart the visual studio. Tadaaa, It worked like a charm 👌.

huangapple
  • 本文由 发表于 2020年1月6日 16:54:20
  • 转载请务必保留本文链接:https://go.coder-hub.com/59609131.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定