Latest System.Reactive 4.2.0 is not directly supported in LINQPad 6.3.0
Seems latest System.Reactive 4.2.0 has changed it's nuget layout:
Everything works perfectly fine in Visual Studio 2019:
C:\Users\flysha.zhou\.nuget\packages\system.reactive\4.2.0>tree /fNote: lib/netcoreapp3.0 has NOTHING. (Maybe they moved it to build\netcoreapp3.0😂) So that LINQPad 6 randomly select "net46", which popup a warning when install "System.Reactive":
卷 Windows 的文件夹 PATH 列表
卷序列号为 2657-E1FC
C:.
│ .nupkg.metadata
│ .signature.p7s
│ system.reactive.4.2.0.nupkg
│ system.reactive.4.2.0.nupkg.sha512
│ system.reactive.nuspec
│
├─build
│ └─netcoreapp3.0
│ System.Reactive.dll
│ System.Reactive.targets
│ System.Reactive.xml
│
├─buildTransitive
│ └─netcoreapp3.0
│ System.Reactive.targets
│
└─lib
├─net46
│ System.Reactive.dll
│ System.Reactive.xml
│
├─netcoreapp3.0
│ _._
│
├─netstandard2.0
│ System.Reactive.dll
│ System.Reactive.xml
│
├─uap10.0
│ System.Reactive.dll
│ System.Reactive.pri
│ System.Reactive.xml
│
└─uap10.0.16299
System.Reactive.dll
System.Reactive.pri
System.Reactive.xml
Everything works perfectly fine in Visual Studio 2019:
Comments
In terms of a proper fix, I don't know what to do other than special-case System.Reactive. They've designed it now so that it can only with MSBuild.