Skip to content

coverlet.msbuild 2.3.0 rebuilds the project with not enough information #288

@akshaybheda

Description

@akshaybheda

Hi,

I am using coverlet.msbuild 2.3.0 with Shouldly package. It looks like whenever i try to enable codecoverage, some of my test fails as the coverlet rebuilds the project which are referenced from my test project with less than Debug level information. I can see the difference in the sizes of dll.

When i build the project with dotnet build, it builds the project with Debug level information set to Full. and when i add coverlet.msbuild to my test project and enable the code coverage and run the test with dotnet test --no-build. It still rebuilds the testee projects. and due to that some of my tests fail as the Shoudly requires full debug information to generate exception messages.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementGeneral enhancement request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions