Go to your C:\Users\{USER}\AppData\Roaming\Microsoft\VisualStudio
folder, and you should find a folder in there called 15_{id}
. Open it, and have a look at the ActivityLog.xml
. If you have a look in it you should find the error in there and the library that's causing it. In my case it was caused by Microsoft.visualstudio.shell.interop.IVsReferenceManager2
within the Microsoft.VisualStudio.Shell.Interop.11.0.dll
library.
This post helped me solve the issue then: Msdn forum
1.Open "Developer Command Prompt for VS 2017" as Admin
2.CD into "C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\PublicAssemblies"
3.Run "gacutil -i Microsoft.VisualStudio.Shell.Interop.11.0.dll"
After a restart, it all worked well.
Please Follow the Source
referencemanagerpackage-fails-to-install-vs-2017-community-edition