We have a visual studio package (VS Package) that references a class library project (Project A). Project A in turn references another class library project (Project B).
The simplest thing to do in this particular case is reference Project B from the VSPackage project and set the "Reference Output Assembly" property to False to avoid introducing a compile-time dependency.