I am able to replicate this scenario:
This is the structure of my . Net solution:
LibC - project --references external Nuget package
LibB - project ---references LibC
LibA - project --references LibB
When I pack LibA with includeReferenedProjects option, I can see LibB. How do I prevent nuget package/lib folder from containing LibC dll and external Nuget package? Those are internal to the solution.
Shouldn't LibA package only contain LibB dll?