You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Data collector 'XPlat code coverage' message: [coverlet]System.IO.FileLoadException: Could not load file or assembly 'System.Text.Json, Version=8.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. Could not find or load a specific file. (0x80131621)
However, if you switch coverlet.collector to version 6.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.json
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
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: