LINQPad 6 with .NET Core 3.0 preview 7?

edited July 24
.NET Core 3.0 preview 7 released today, but LINQPad 6(6.0.11) seems don't directly support it.
It uses preview-7 runtime:
C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.0.0-preview7-27912-14\System.Private.CoreLib.dll
But some did not support preview-7 API:
System.Text.Json.JsonSerializer.Serialize(new { a = 3, b = 4})
With Visual Studio 2019, this is all good:


  • Thanks - I'll get a fix out tomorrow. In the meantime, you should be able to work around it by deleting the preview6 versions of the Microsoft.NETCore.App.ref and Microsoft.WindowsDesktop.App.ref packages from %userprofile%\.nuget\packages
  • JoeAlbahari Thanks, things works perfectly fine after delete the preview-6 stuff in folder :)

  • Hey JoeAlbahari, Why LINQPad 6.0.13 still want preview-6 to be installed while I deleted the Microsoft.NETCore.App.ref/Microsoft.WindowsDesktop.App.ref package folder?
  • edited August 3
    Well, it turns out I didnot have .net core 3.0 preview-7 installed in this machine, after install .net core 3.0 preview-7, everything works fine:

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!