Xamarin.Android dependency netstandard13 package?

纵饮孤独 提交于 2020-01-06 13:28:43

问题


According to the docs on the .NET Platform Standard, it seems like it should be possible for Xamarin apps to consume NuGet packages targetin netstandard13. However, when I try this I get the following error while trying to add the 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)'.

I'm trying to do this on VS2015 update 2 + RC2 tooling. Is this not possible, is there another way to approach this?


回答1:


That npgsql package seems to be depending on pre-release packages (RC - Release Candidate). Run the install with -pre option:

Install-Package npgsql -pre


来源:https://stackoverflow.com/questions/37393982/xamarin-android-dependency-netstandard13-package

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!