Skip to content

Solution build fails if coverlet.collector is already added to project #59

@FrediKats

Description

@FrediKats

Actual behavior: dotnet-releaser add coverlet.collector to test projects during build step. If project already has reference to coverlet.collector, build finish with:

error NU1504: Warning As Error: Duplicate 'PackageReference' items found. Remove the duplicate items or use the Update functionality to ensure a consistent  restore behavior. The duplicate 'PackageReference' items are: coverlet.collector , coverlet.collector . 

Expected behavior: dotner-releaser must check coverlet.collector reference before adding it to test projects.

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions