您不必等到.NET Core升级到PusherClient之后.
参考.NET Framework 4.6.1(及以下版本)从.NET Core是一款new feature美元的产品.NET Core/Standard 2.0预览版2/VS 2017预览版15.3,根据MS,it can be thought of as a feature that helps you migrate .NET Framework code to .NET Standard or .NET Core over time.
您可以只取消显示此警告
<PackageReference Include="Contoso.Base.API" Version="1.0.3">
<NoWarn>NU1701</NoWarn>
</PackageReference>
<NoWarn>NU1701</NoWarn>
See scenarios 2 and 3 in NuGet wiki for ways to do it from GUI美元.
不过,应用程序在运行时可能会失败
如果您不需要您的应用程序是跨平台的,只需通过将以下内容添加到您的csproj文件中,将其目标框架更改为.NET 4.6.1即可:
<TargetFramework>net461</TargetFramework>