visual studia error

Solution for Visual Studio 2017:

step 1: open visual studio cmd in administrator mode (See Start menu item: Developer Command Prompt for VS 2017 - Be sure to use: Run as administrator)

step 2: change directory to the folder where VS 2017 is installed, for example:

cd C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise

(You can copy/paste this command to your cmd prompt, for Visual Studio Professional, the folder will be called "Professional" instead of "Enterprise" etc.)

step 3: copy/paste the below command

gacutil -if Common7\IDE\PublicAssemblies\Microsoft.VisualStudio.Shell.Interop.8.0.dll

hit enter..

it will resolve the issue..

otherwise you can also add to GAC following as above

Microsoft.VisualStudio.Shell.Interop.9.0.dll

Microsoft.VisualStudio.Shell.Interop.10.0.dll

Microsoft.VisualStudio.Shell.Interop.11.0.dll

Kategoria: