Skip to content

System.EntryPointNotFoundException : Entry point was not found #1517

@sungam3r

Description

@sungam3r

On net6.0 I faced with weird issue. See Xabaril/AspNetCore.Diagnostics.HealthChecks#1980 and especially Xabaril/AspNetCore.Diagnostics.HealthChecks#1980 (comment) .

I narrowed it down to --collect "XPlat Code Coverage" and opencollector package.

Steps to reproduce:

  1. Check out code from my branch in Fix Microsoft.Bcl.AsyncInterfaces issue Xabaril/AspNetCore.Diagnostics.HealthChecks#1980
  2. Run dotnet test ./test/HealthChecks.Gremlin.Tests/HealthChecks.Gremlin.Tests.csproj --collect "XPlat Code Coverage" -f net6.0 locally from the repo root. Test run fails.

Additional notes:

  1. No such error without --collect "XPlat Code Coverage".
  2. No such error if explicitly add <PackageReference Include="Microsoft.Bcl.AsyncInterfaces" Version="7.0.0" /> into test project.
  3. No such error on net7.0.

Metadata

Metadata

Assignees

Labels

SolvedThe issue is solved and can be closedbugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions