ProjectA
referencesProjectB
ProjectB
referencesProjectC
ProjectA
has<RestoreProjectStyle>PackageReference</RestoreProjectStyle>
in the .csproj
Given the above, it is possible to directly reference ProjectC
types in ProjectA
. This is undesirable since I don't want to leak types into ProjectA
.
How can I avoid this compile-time automatic dependency inheritance / type exposure?