Skip to content

Handling of Duplicate References in Solution Files #47860

Open
@v-wuzhai

Description

@v-wuzhai

Describe the bug

The current behavior is that when duplicate references are present in solution files, vs-solutionpersistence removes all these duplicate references. This behavior can lead to unexpected results and management confusion.

Current Behavior:When duplicate project references are present in solution files, all duplicate references are automatically removed. This causes the test WhenDuplicateReferencesArePresentItRemovesThemAll to fail.

Expected Behavior

Should be able to recognize and handle duplicate references, or provide a clear error message indicating the presence of duplicate references, rather than simply removing them.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions