Skip to content

Facing Issue while installing coverlet.Console #1714

Open
@sudhach123

Description

@sudhach123

Hi Everyone
We are facing issue while installing coverlet. Console package in our application.
Background:We are trying to consume the nightly build of Coverlet as we have been reported a few vulnerabilities, and we found that the reported path is not in our application, but rather in Coverlet.
Path for reference:/app/DotNetRestoreDirectory/coverlet.collector/6.0.2/build/netstandard2.0/coverlet.collector.deps.json

In the process, we are trying to install the Coverlet.Console package to consume the nightly build, but we are getting the error below, and it is not allowing us to install the package.

Error:Package 'coverlet.console 6.0.2' has a package type 'DotnetTool' that is not supported by project 'XXX'.

Error:NU1212:Invalid project-package combination for coverlet.console 6.0.2. DotnetToolReference project style can only contain references of the DotnetTool type .

Could you please help us on this.

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