Skip to content

System.Data.SqlClient flaged as dependency by SourceBuild, but not present in any project.assets.json files #3494

@JanKrivanek

Description

@JanKrivanek

Background

System.Data.SqlClient v4.8.3 is reported as dependency of MSBuild (https://devdiv.visualstudio.com/DevDiv/_componentGovernance/DotNet-msbuild-Trusted?_a=components&typeId=8799614&alerts-view-option=active)
Looking into a sample build run: https://devdiv.visualstudio.com/DevDiv/_build/results?buildId=7861261&view=results, th dependency shows only in the SourceBuild (binlog)

01

However it doesn't show in neither project.assets.json files that are part of the build:

02

Where does this happen

MSBuild pipeline: https://devdiv.visualstudio.com/DevDiv/_build?definitionId=9434&_a=summary, build of main branch

Possible Issue

While the dependency is part of the nuget cache, it doesn't seem to be pulled by the build. Rather I suspect it being pulled by some of the SourceBuild components/dependencies.
Is there a chance to make a snapshot before the build itself and then do a diff of those (in order to prevent accounting SourceBuild components as target build components)?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions