Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeLoadException for certain combinations with Microsoft.Extensions.DependencyInjection 6.0.1 #1395

Merged
merged 2 commits into from
Oct 27, 2022

Conversation

daveMueller
Copy link
Collaborator

@daveMueller daveMueller commented Oct 21, 2022

closes #1390

…tions and update of Microsoft.Extensions.DependencyInjection
@candritzky
Copy link

@daveMueller My expectation was that this would be fixed by lifting the TargetFramework of coverlet.console.csproj from net5.0 to net6.0. Maybe it's worth also looking into this.

@daveMueller
Copy link
Collaborator Author

Yes I thought about that but the issue also happend for the coverlet.collector driver. coverlet.collector and coverlet.core are both netstandard2.0. The collector is totally independent from the global tool and thus it can't be related to net5.0.

@daveMueller daveMueller marked this pull request as ready for review October 21, 2022 05:46
Copy link
Collaborator

@petli petli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That was a simple fix!

@cristipufu
Copy link

Thanks for the fix! When can we expect it merged & released?

@petli petli merged commit 32bcff1 into coverlet-coverage:master Oct 27, 2022
@petli
Copy link
Collaborator

petli commented Oct 27, 2022

I've merged so it should make it into the nightly builds now, at least:
https://github.com/coverlet-coverage/coverlet/blob/master/Documentation/ConsumeNightlyBuild.md

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

TypeLoadException error (DependencyInjection) with latest EFCore
4 participants