You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A dependency may reference different dependency versions based on the project's target framework. When scanning a solution where two projects with different target frameworks reference the same dependency, the generated SBOM may incorrectly label a transitive dependency as a direct dependency.
Steps to reproduce
Given a fresh solution
Add a net6.0 project (P1)
Let P1 reference Microsoft.Data.SqlClient@5.2.1
Add a net8.0 project (P2)
Let P2 reference Microsoft.Data.SqlClient@5.2.1
Generate an SBOM for the solution
Result
Microsoft.Data.SqlClient@5.2.1
System.Runtime.Caching@6.0.0
System.Runtime.Caching@8.0.0
The text was updated successfully, but these errors were encountered:
A dependency may reference different dependency versions based on the project's target framework. When scanning a solution where two projects with different target frameworks reference the same dependency, the generated SBOM may incorrectly label a transitive dependency as a direct dependency.
Steps to reproduce
Microsoft.Data.SqlClient@5.2.1
Microsoft.Data.SqlClient@5.2.1
Result
The text was updated successfully, but these errors were encountered: