How to change the version of Visual Studio when opening on github

守給你的承諾、 提交于 2020-01-15 06:04:23

问题


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.

How can I do this?


回答1:


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

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.




回答2:


  1. Click Windows Start Button
  2. Start Typing 'Default Programs'
  3. Select 'Default Programs'
  4. Click 'Set your default programs'
  5. Select Visual Studio 2017 from program list
  6. Click 'Choose defaults for this program'
  7. To load the desired version of Visual Studio, Check the box by Web Protocol Handler
  8. Click Save Button

Note: If you are switching over and want all functionality to default to VS2017 (or whatever version) just select the 'Set this program as default' as an alternative for step 6.



来源:https://stackoverflow.com/questions/51056557/how-to-change-the-version-of-visual-studio-when-opening-on-github

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!