TypeResolver.GetIVsLibrary(Guid) should check if a certain (C# or VB) project type exist in the solution and only then obtain those libraries
TypeResolver.GetIVsLibrary(Guid) should check if a certain (C# or VB) project type exist in the solution and only then obtain those libraries