Showing posts with label asp.net core add project reference. Show all posts
Showing posts with label asp.net core add project reference. Show all posts

Sunday, December 2, 2018

Cannot find an instance of the Microsoft.VisualStudio.Shell.Interop.IVsReferenceManager service- Solved

In Visual Studio 2017 Asp.Net Core Project while trying to add reference of a Class Library getting this following error 

"Cannot find an instance of the Microsoft.VisualStudio.Shell.Interop.IVsReferenceManager service." - Solved 

Please follow the following steps 

1.Launch Developer Command Prompt for VS 2017

While opening the command prompt, please make sure you run that as administrator 
2.CD 
C:\Program Files\Microsoft Visual Studio\2017\Community\Common7\IDE\PublicAssemblies
3.Run gacutil -i Microsoft.VisualStudio.Shell.Interop.11.0.dll
After installing , close and reopen your asp.net core project , and now try to add reference you should be able to add