visual studio – VS 2017 IDE can’t start: Method not found after installing Microsoft.VisualStudio.Shell.15.0 package with gacutil.exe


I had an error when starting the WebCompiler extension, that Microsoft.VisualStudio.Shell.15.0.dll was missing.

After some searches, I found that I can install it via the PackageManager console in VS 2017.
I found and installed a version compatible with .Net 4.5, but still had the same error.

A thread suggested that I should use the gacutil.exe to copy the dll to the cache.
So I run this command:

PS C:Program Files (x86)Microsoft SDKsWindowsv10.0AbinNETFX 4.6.1 Tools> .gacutil.exe -i 'D:MyProjectFolderpackagesMicrosoft.VisualStudio.Shell.15.0.15.0.26201libMicrosoft.VisualStudio.Shell.15.0.dll'

After this, my VS 2017 IDE triggers the below error when I try to start it:
enter image description here

I tried repairing it, re-install it, restarting my computer, delete the dll from c:windowsassemblies, but without luck.

Anyone knows how I can fix this?



Source link

Leave a Comment

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Scroll to Top