MissingMethodException in LINQPad 8 while it runs good in LINQPad 7/VS2022
For this query:
https://share.linqpad.net/h6mo4tpo.linq
It runs good in LINQPad 7, but it prompts following error when compiling in LINQPad 8.0.18:
Method not found: 'System.Net.Http.Json.JsonContent System.Net.Http.Json.JsonContent.Create(!!0, System.Net.Http.Headers.MediaTypeHeaderValue, System.Text.Json.JsonSerializerOptions)'.
And it also runs good in Visual Studio 2022:
Please check, this should be a issue.
Comments
It seems directly caused my NuGet package 8.0 dependencies:
However it works good in LINQPad 7 and Visual Studio 2022
This script have same issue:
https://share.linqpad.net/28rg29mv.linq