Try this:
- Launch Developer Command Prompt for VS 2013
- Navigate to Common7\IDE\PublicAssemblies directory
- Run gacutil -i Microsoft.VisualStudio.Shell.Interop.11.0.dll
(this link shows where gacutil is: https://blogs.iis.net/davcox/where-is-gacutil-exe)
You should now see:
Microsoft (R) .NET Global Assembly Cache Utility. Version 4.0.30319.0
Copyright (c) Microsoft Corporation. All rights reserved.
Assembly successfully added to the cache
Restart Visual Studio and hopefully all will be well and you can add references.
Developer Command Prompt must start in Common7 directory, if not you must navigate to it before step 2.
if you can't find Microsoft.VisualStudio.Shell.Interop.11.0.dll with 11.0 version, try another high version
To launch Developer Command Prompt for VS 2013, do:
In Windows 10
- Open the Start menu, by pressing the Windows logo key Windows logo
on your keyboard for example.
- On the Start menu, enter dev. This will bring a list of installed
apps that match your search pattern. If you're looking for a
different command prompt, try entering a different search term such
as prompt.
- Choose the Developer Command Prompt (or the command prompt you want
to use).
In Windows 8.1
- Go to the Start screen, by pressing the Windows logo key Windows
logo on your keyboard for example.
- On the Start screen, press CTRL + TAB to open the Apps list and then
enter V. This will bring a list that includes all installed Visual
Studio command prompts.
- Choose the Developer Command Prompt (or the command prompt you want
to use).
In Windows 8
- Go to the Start screen, by pressing the Windows logo key Windows
logo on your keyboard for example.
- On the Start screen, press the Windows logo key Windows logo + Z.
Choose the Apps view icon at the bottom of the screen and then enter
V. This will bring a list that includes all installed Visual Studio
command prompts.
- Choose the Developer Command Prompt (or the command prompt you want
to use).
In Windows 7
- Choose Start, expand All Programs, and then expand Microsoft Visual
Studio.
- Depending on the version of Visual Studio you have installed, choose
Visual Studio Tools, Visual Studio Command Prompt, or the command
prompt you want to use.
This steps worked for me.
see more at:
https://social.msdn.microsoft.com/Forums/security/en-US/4eea5785-0a83-4389-89e3-209a5a4432c0/referencemanagerpackage-fails-to-install-vs-2017-community-edition?forum=vssetup