Outlook code review link opens wrong Visual Studio version - visual-studio

I have Visual Studio 2013 Premium and 2012 Premium installed. I get email notifications for code reviews in TFS. These notifications include a link to open the reviews, with display text "Open Changes and Comments in Visual Studio". The link location starts with
vstfs://codereview/...
When I click the links, the code reviews are opened in Visual Studio 2012.
How can I make Visual Studio 2013 handle the code review email links instead of Visual Studio 2012? I would like for them to be opened in Visual Studio 2013, instead.

Open "default apps" on Window,
Select "Choose default apps by protocol" and scroll until you see "VSTFS"
Select "Microsoft Visual Studio Web Protocol Handler Selector" and test the options.

Open your registry and modify the path to devenv.exe defined in the key HKCR\vstfs\Shell\Open\Command\(Default)

I repaired my Visual Studio 2013 installation and changed all of the filetypes associated with Visual Studio 2012 to be associated with 2013 in the Default Programs tool, and then restarted my PC. The problem is now resolved, but I don't know what fixed it; my guess is the 2013 repair.

Related

How do I uninstall Visual Studio Enterprise without uninstalling Visual Studio Community?

My VS-Enterprise license expired over the new year so I installed the community version.
When I go to the control panel it just shows me "Visual Studio Community 2017 (2)" and no option for Visual Studio Enterprise 2017. Also, when I search for the enterprise version and right-click uninstall, it brings me to the same "Visual Studio Community 2017 (2)" in the control panel.
Is there a way of uninstalling enterprise through the community version?
Uninstall Visual Studio
Find the Visual Studio Installer on your computer.
For example, on a computer running Windows 10 Anniversary Update, select Start and scroll to the letter V, where it is listed as Visual Studio Installer.
Alternatively, you can find the Visual Studio Installer in the following location:
C:\Program Files (x86)\Microsoft Visual Studio\Installer\vs_installer.exe
Click to start the installer, click the Details icon icon, and then click Uninstall.
Click OK to confirm your choice.
Uninstall Visual Studio Installer
To completely remove all installations of Visual Studio 2017 as well as the Visual Studio Installer from your machine, uninstall it from Apps & Features.
Open Apps & Features. For example, in Windows 10, select Start, and in the search bar, type Apps and Features.
Find Microsoft Visual Studio 2017.
Click Uninstall.

Choose specific VSTO-Version when opening TFS-Project

I do have a TFS Project (TFS 2013) and I would like to set up my Visual Studio 2015 to work at that project. I have Visual Studio 2017 and Visual Studio 2015 installed. Now whenever I go to the main page of my Project and click "Open in Visual Studio" (like described here), Visual Studio 2017 opens. I would like to have it open in VSTO 2015. How can I select which version of Visual Studio should open?
The solution file should contain a UTF-8 signature that describes in which version the solution is to be opened. This is what's used for example to show different icons for solution files targeting different Visual Studio versions.
This signature info is also used by the Visual Studio Version Selector when opening a solution. An easy way to fix this is make sure that have the solution local on your dev machine and then right click -> open with and choose the Visual Studio Version Selector. Then pick the correct version of Visual Studio that you want to use.
This will then be honored by your browser when opening a solution since this also uses the Visual Studio Version Selector.

Visual Studio 2013 Documentation link

Is it possible to create shortcut to Visual Studio 2013 Help Viewer? It is possible to start if from Visual Studio IDE, Help menu. I want to run it, for example, from a desktop shortcut.
In previous Visual Studio versions there are shortcuts in Windows start menu, for example: "Microsoft Visual Studio 2010 Documentation". 2013 doesn't have such shortcut.
Help Viewer is located at %ProgramFiles(x86)%\Microsoft Help Viewer\v2.1\HlpView.exe. Just create a shortcut to it. HlpView.exe requires some parameters,
Usage: HlpViewer.exe /catalogName [/options]
it gives a sample:
HlpViewer.exe /catalogName VisualStudio12 /locale en-us
Personally, I don't use Help Viewer and it doesn't have any content on my computer. Just try it on your machine.

How to remove ApexSQL menus from Visual Studio?

I installed the free version of ApexSQL which is awesome in SSMS, but I really don't want all those menus in Visual Studio. I went to add-in manager and unchecked them, but the Startup column is checked and disabled so every time I restart Visual Studio they come back.
Is it possible to permanently remove the ApexSQL menus from Visual Studio?
If you have ApexSql installed and you don't want those pesky menus in Visual Studio do 2 things.
In Visual Studio, go to Tools > Add-in Manager and uncheck the ApexSql addins. Close Visual Studio.
In Windows 7, there's a hidden folder C:\ProgramData. In Windows Explorer go to C:\ProgramData\Microsoft\MSEnvShared\AddIns folder. Edit each of the *.MsvsLoader.Addin files and set <LoadBehavior> to 0. If you can't save the files directly, you'll have to save the files to a different location (desktop maybe) and then copy them back into C:\ProgramData\Microsoft\MSEnvShared\AddIns because there's some Admin privilege required.
Now when you restart VS those ApexSQL menus should be gone
The issue of crowding menus is resolved in latest releases, now all ApexSQL add-ins are under the main ApexSQL menu as sub-menus. They look like this now:
If you don't need ApexSQL add-ins in VS or SSMS you can simply choose not to integrate them with VS or SSMS during the installation, just check out SSMS ot VS version in which you want the add-ins integrated
Note: To get this dialog in which you can check the wanted integration you need to use individual installers not the main one. You can find all individual installers on this link
Disclaimer: I work for ApexSQL as a Support Engineer
For Visual Studio 2010 on Windows 7, I attempted #Chris Bayles suggestion and do not see ApexSql addins under Tools->Add-in Manager.
I followed #Jerome2606's pointer to https://knowledgebase.apexsql.com/remove-add-ins-just-visual-studio-retaining-sql-server-management-studio/ and it worked for me, but only when I removed the parent ApexSQL folder as well.
Summary of what is required to do:
Remove folder
C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\Extensions\ApexSQL
Depending on the version of Visual Studio, the version number in the default installation location will be different:
Product name Version number
Visual Studio 2010 Microsoft Visual Studio 10.0
Visual Studio 2012 Microsoft Visual Studio 11.0
Visual Studio 2013 Microsoft Visual Studio 12.0
Visual Studio 2015 Microsoft Visual Studio 14.0
Select and delete the ApexSQL folder and its contents.
Open Command Prompt as an administrator, then run
"C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\devenv.exe" /setup
Please note the command is different for Visual Studio 2012, 2013, and 2015.
If you are using SSMS v18.0 then you can disable the apex features in following way.
You can find the ApexSQL.Complete.Addin.SSMS18.pkgdef file from following path.
C:\Program Files (x86)\Microsoft SQL Server Management Studio 18\Common7\IDE\Extensions\ApexSQL Complete
Then open this file in Notepad++ Administrator mode and comment the content.
If you need further reading follow this link.
https://knowledgebase.apexsql.com/remove-apexsql-tools-sql-server-management-studio/

VS2010 not show up if SQL Server 2012 installed before

I installed them in this order:
Install SQL Server 2012 SP1 x64
Visual Studio 2010
This is the proper order that other developers recommended and as i did.
The problem is, if SQL Server 2012 installed on the system, VS2010 shortcuts are not show up.
How can I fix this?
Note: OS is Windows 8.
This is a bug.
A workaround is to navigate to C:\ProgramData\Microsoft\Windows\Start
Menu\Programs\Microsoft Visual Studio 2010, right-click on the
shortcut called Microsoft Visual Studio 2010, and select Pin to Start.
After this, there will be two shortcuts targeting devenv (one titled
Microsoft SQL Server Data Tools and one titled Microsoft Visual Studio
2010)
Refer: http://connect.microsoft.com/VisualStudio/feedback/details/730276/after-installing-sql-server-2012-on-my-windows-8-pc-visual-studio-2010-shortcuts-disappeared
As the OP stated. I too installed SQL before VS. I always do. So I was baffled when i could not find my VS2010 shortcut.
It turns out that the icon is mis-named. If you open (or check the properties) of the icon in the Visual Studio 2010 start menu folder called "Sql Server Data Tools". You may find it is actually the VS 2010 IDE.
Workaround provided by
http://connect.microsoft.com/VisualStudio/feedback/details/730276/after-installing-sql-server-2012-on-my-windows-8-pc-visual-studio-2010-shortcuts-disappeared
Edit the shortcut start target. For instance. I made mine not display the splash page.
"C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\devenv.exe" /nosplash
Then repin it to the start menu (right click).
Installing Visual Studio 2010 SP1 seems to fix this as well, its available to download from here http://www.microsoft.com/en-us/download/details.aspx?id=23691 If you run devenv.exe it should prompt you to do this also.

Resources