Skip to content

[Feature] Error on multiple entries for the same package ids in Directory.Packages.props #9467

Closed

Description

@cristinamanum

Details about Problem

Error on multiple entries for the same package ids in Directory.Packages.props.

In the current design the first declared entry is honored and the others are ignored.

Note: consider the support for version override. See issue

Activity

  1. cristinamanum commented on Jul 14, 2020

    @cristinamanum
    ContributorAuthor

    This issue depends on the #9465. If an error will be raised when there are multiple entries few of the recommended ways to override will start failing.
    Re-evaluate this issue after the issue #9465 is fixed.

  2. 2 remaining items

  3. self-assigned this
    on Apr 15, 2022
  4. changed the title [-][CPVM-OnBoard] Error on multiple entries for the same package ids in Directory.Packages.props[/-] [+][Feature] Error on multiple entries for the same package ids in Directory.Packages.props[/+] on Apr 15, 2022
  5. nkolev92 commented on Apr 15, 2022

    @nkolev92
    Member

    In 6.3, NU1506 is raised as a warning when a duplicate is detected.

    We can choose to error when we detect duplicates or we can call the warning good and move on to other issues :)

    @jeffkl @JonDouglas

  6. added this to the milestone on May 2, 2022
  7. jeffkl commented on May 3, 2022

    @jeffkl
    Contributor

    Thanks @nkolev92, I've verified that your new warning covers this scenario so I'll close this as fixed!

  8. modified the milestones: , 6.3 on May 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions