Skip to content

Some transitive dependencies do not add as dependencies #478

@msherms2

Description

@msherms2

I originally created this in DTrack as I misread the generated SBOM and guessed it was the cause. However, through discussion, it was shown to me that a valid dependency tree and NuGet Restore scenario can create correct Components data (it pulls the right packages) but does not properly show the full Dependency Graph. This is because some packages do not properly set up as Dependencies in the dependencies section for an unknown reason (but not all, some do).

The attached SBOM you can see not all dependency data below is present - for instance the OpenXML.Framework package depending on System.Packaging.IO. The result of this is an incomplete DTrack dependency graph:

Image

bom.xml

Unfortunately I don't really understand why it does it with some but not all dependencies. We successfully proved if you hand add the dependencies in the expected form, the Dependency Graph works as expected.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions