0

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?

Athari
  • 33,702
  • 16
  • 105
  • 146
Shay Rojansky
  • 15,357
  • 2
  • 40
  • 69

1 Answers1

0

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

Install-Package npgsql -pre
SKall
  • 5,234
  • 1
  • 16
  • 25