Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

vstfs:// protocol tries to open in VS 2012 but fails

I have VS 2012, 2015, & 2017 installed on my machine. We also have TFS 2017 locally installed. When I get an email for a code review and click the link, for everyone else it opens up VS 2015/2017 depending on the version the other people have. For me it opens VS 2012 but fails to open up the code review. I noticed if I copy and paste that vstfs//codereview/request/... link in IE it prompts me to open an external application. In this prompt it says:

Do you want to allow this website to open a program on your computer? It then shows Program: Vs 2012 and Address: vstfs:///.... For other people under the Program setting it shows the VS selector and not a specific version.

Does anyone know where I can change this setting to use the VS selector program vs VS 2012 with this vstfs:// protocol link?

like image 458
user441521 Avatar asked May 14 '18 18:05

user441521


1 Answers

Go to the Windows settings (Default App Settings in Windows 10).

enter image description here

Choose Default Apps By Protocol at the bottom of the screen.

enter image description here

Find the VSTS/TFS protocol handler. Set it to the Visual Studio web protocol handler.

enter image description here

You'll have to pick the right version by the icon (if multiple are registered). Unfortunately, the title doesn't contain the version number.

like image 183
jessehouwing Avatar answered Nov 02 '22 01:11

jessehouwing