在github上打开时如何更改Visual Studio的版本

在github上打开时如何更改Visual Studio的版本

问题描述:

我同时拥有VS2015和VS2017.当我在GitHub上选择在Visual Studio中打开"时,我想将其更改为使用VS2017而不是VS2015.

I have both VS2015 and VS2017. When I choose "Open in Visual Studio" on GitHub I'd like to change it to use VS2017 instead of VS2015.

我该怎么做?

通过另一个问题找到了答案:

Found the answer by a different question: Workaround for "Visual Studio Web Request handler could not be found" when using github?

解决方案很简单:只需为 git-client协议.为此,请按Windows键,输入默认 应用",然后选择设置页面.向下,选择选择默认设置" 按协议选择应用",然后查找"git-client".然后选择 VS2017的Microsoft Visual Studio Web协议处理程序选择器.

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.