I've been trying to use EF Core in a test project, but unfortunately I get an error at build time.
I've been consulting this guide
As soon as I add the Microsoft.EntityFrameworCore and Microsoft.EntityFrameworCore.Sqlite I get the following error
Exception while loading assemblies: System.IO.FileNotFoundException: Could not load assembly 'System.Buffers, Version=4.0.2.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. Perhaps it doesn't exist in the Mono for Android profile?
File name: 'System.Buffers.dll'
at Java.Interop.Tools.Cecil.DirectoryAssemblyResolver.Resolve(AssemblyNameReference reference, ReaderParameters parameters)
at Xamarin.Android.Tasks.ResolveAssemblies.AddAssemblyReferences(DirectoryAssemblyResolver resolver, ICollection`1 assemblies, AssemblyDefinition assembly, Boolean topLevel)
at Xamarin.Android.Tasks.ResolveAssemblies.Execute(DirectoryAssemblyResolver resolver) EFCore.Android
Am I missing something ? It behaves as if System.Buffers is required on Android, installing the nuget makes the error go away but I'm not sure if it's an okay workaround.
Edit
I'm using XF 3.1.0.697729
27.0.2.1 for android
Thanks,