EF.Core 2.0.1 is not safe in Xamarin.Android

I'm not sure what to do with this. Any suggestions?

Deployment Exception

D / Mono (12535): the place to detect the assembly loader: 'System.Runtime.CompilerServices.Unsafe'.

F / monodroid-assembly (12535): Failed to load assembly "System.Runtime.CompilerServices.Unsafe" during registration at startup.

F / monodroid-assembly (12535): This may be due to improper debugging.

F / monodroid-assembly (12535): A common reason is the "adb install" application directly, and not execution from the IDE.

Repro

Visual Studio 2017 (version 15.5.7)

1) Create a new cross-platform application (Xamarin.Forms)

2) Select "Blank Application", uncheck iOS, Windows, but leave Android installed.

3) Xamarin.Forms .NET Standard

4) , Visual Studio Android 7.x (, Android_Accelerated_Nougat (Android 7.1 - API 25))

. .

5) Microsoft.EntityFramework.Core v2.0.1 NuGet NET Standard.

6) , , .

:

, package.config, , Visual Studio.

? EF Core Xamarin?

+4

Source: https://habr.com/ru/post/1694069/


All Articles