“找不到 Visual Studio Web 请求处理程序"的解决方法使用 github 时? [英] Workaround for "Visual Studio Web Request handler could not be found" when using github?

查看:14
本文介绍了“找不到 Visual Studio Web 请求处理程序"的解决方法使用 github 时?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我在 github 上选择在 Visual Studio 中打开"时,出现以下错误:

<块引用>

找不到 Visual Studio Web 请求处理程序"

我认为这是由于 git-client 协议处理程序未正确注册.

这里列出了 VS2015 的已关闭错误,但没有解决方法:

当您单击 Github 中的在 Visual Studio 中打开"- 按钮时,Visual Studio 2017 应该会打开,您可以在团队资源管理器中克隆存储库.

When I choose "Open in Visual Studio" on github, I get the following error:

"Visual Studio Web Request handler could not be found"

I believe this is due to the git-client protocol handler not being registered properly.

There's a closed bug for VS2015 listed here but no workaround: https://github.com/github/VisualStudio/issues/140

I've tried to repair Visual Studio 2017 but that didn't fix it. Is there a workaround, perhaps by editing HKEY_CLASSES_ROOTgit-client entries?

解决方案

The solution is easy: just reassign the default handler for the git-client protocol. To do that, press the Windows-Key, enter "default apps" and select the settings page. Go down, select "Choose default apps by protocol" and look for "git-client". Click and select the Microsoft Visual Studio Web Protocol Handler Selector for VS2017.

When you click the "Open in Visual Studio" - button in Github, Visual Studio 2017 should open and you can clone the repo in Team Explorer.

这篇关于“找不到 Visual Studio Web 请求处理程序"的解决方法使用 github 时?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆