Skip to content

Coverlet.Core.Instrumentation.Tracker. runtime Type created in production assembly #1191

@apsthisdev

Description

@apsthisdev

I have simple .NET core assembly

MyAssembly.csproj (src)

MyAssemblyTest.csproj (test)

  • MyAssemblyTest References coverlet to generate the test reports.
  • MyAssemblyTest references the MyAssembly.csproj
  • Defines MSTest that validates MyAssembly types using reflection.

After running the tests I noticed that the coverlet creates a runtime type in MyAssembly and this assembly which does not reference coverlet at all !

Coverlet.Core.Instrumentation.Tracker.MyAssembly_563b4785-5c80-4b10-82c6-9057f0038f04

Why is coverlet creating a tracker inside a production assembly that does not references coverlet at the first place ?

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