-
Notifications
You must be signed in to change notification settings - Fork 386
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
When using .NET 6 (with .NET 8 installed) picking wrong version of System.Text.Json [BUG] #1639
Comments
Faced the same issue in one of our pipeline after updating the package to the latest version. After downgrading it to 6.0.0, it works for me. Thanks for the workaround @clinington |
Same issue for me... downgraded to version 6.0.0 and working fine. |
Yeah - that was my fix - then went to .net8 and bumped back up again. However, the there's a security vulnerability with the newtonsoft package that is used by version |
Yes this is a duplicate of #1625. We already fixed this in #1637. You can try it out by consuming our nightly: https://github.com/coverlet-coverage/coverlet/blob/master/Documentation/ConsumeNightlyBuild.md |
We now have a new official release |
Describe the bug
So I have both sdks installed, i have a global json pinning the version to
6.0.419
.The version of
coverlet.collector
is6.0.1
.Running:
gets this result:
However, if you switch
coverlet.collector
to version6.0.0
and run the same command again then the issue goes away - assuming that it has something to do with the switch from newtonsoft to system.text.jsonThe text was updated successfully, but these errors were encountered: