I want to use entity framework in my xamarin.forms solution, but when I install the "Microsoft.EntityFrameworkCore.SQLite" nugget package I face with this build error:
Can not resolve reference:
System.Buffers
, referenced bySystem.Memory
. Please add a NuGet package or assembly reference forSystem.Buffers
, or remove > the reference toSystem.Memory
.
Error screenshot:
how can I handle this error? if can not handle this error, how I can use entity framework with xamarin.forms? or is there any alternative solution to entity framework?
I have visual studio 15.8.1 and Microsoft.EntityFrameworkCore.SQLite v2.1.2, both of them are the latest version.
thank you so much