根据docs on the .NET Platform Standard,似乎Xamarin应用程序应该可以使用NuGet包targetin netstandard13。但是,当我尝试这个时,我在尝试添加NuGet时出现以下错误:
Unable to find a version of 'System.Collections.Concurrent' that is compatible with 'npgsql 3.9.0 constraint: System.Collections.Concurrent (>= 4.0.12-rc2-24027)'.
我试图在VS2015更新2 + RC2工具上执行此操作。这是不可能的,还有另一种方法来解决这个问题吗?
答案 0 :(得分:0)
npgsql包似乎取决于预发布包(RC - Release Candidate)。使用-pre选项运行安装:
Install-Package npgsql -pre