Reputation: 1728
I've got a project setup as follows:
Project B has a dependency on Project A
Project C has a dependency on Project B
I would like Project C to have access to Project A's types transitively. However, in my Project C (.Net Framework 4.8) referencing Project B (.Net Standard 2.0) it can't resolve any types from Project A (.Net Standard 2.0).
My understanding is the new way of doing things transitive project references are enabled by default, yet I can't build Project C without adding a direct reference to Project A as well.
I've tried playing with <IncludeAssets>all</IncludeAssets>
and <PrivateAssets>none</PrivateAssets>
as well as <DisableTransitiveProjectReferences>false</DisableTransitiveProjectReferences>
with no luck.
Upvotes: 3
Views: 2190