Skip to content

Add Transitive Dependency Conflict Analyzer #1690

@mikadumont

Description

@mikadumont

Description

During .NET modernization, customers frequently encounter transitive dependency conflicts that block upgrades:

  1. NU1109 Downgrade Errors - NuGet restore fails when a transitive dependency requires a lower version than what's already resolved. Build fails with no clear guidance on which packages are in conflict.

  2. Runtime Binding Failures - Projects build successfully but fail at runtime with FileLoadException or TypeLoadException due to major version mismatches in transitive dependencies.

  3. Diamond Dependencies - Multiple packages depend on the same transitive package with different version requirements, leading to unexpected behavior.

Customer Impact: These issues are time-consuming to diagnose because:

  • Conflicts involve indirect dependencies not visible in project files

  • project.assets.json is complex and difficult to parse manually

  • Root cause identification requires understanding the full dependency graph

More info here: https://devdiv.visualstudio.com/DevDiv/_workitems/edit/2745164/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions