Xamarin.Android dependency netstandard13 package?

2019-09-06 10:57发布

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条回答
爷、活的狠高调
2楼-- · 2019-09-06 11:18

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

Install-Package npgsql -pre
查看更多
登录 后发表回答