realm-dotnet: Xamarin Forms .NET Standard 2.0 + Realm 2.1 Problem
Goals
Do Xamarin Forms work with Realm together again, as old version. (Xamarin.Forms PCL + Realm)
Expected Results
Realm installed and configured automaticaly in project Xamarin Forms(2.5) - .NET Standard 2.0. It looks like Realm does not recognize Xamarin-type projects.
Actual Results
Project Xamarin Forms stopped run when installed Realm even when add manually FodyWeavers.xml. The project show need lib “System.Runtime.CompilerServices.Unsafe 4.4.0”, but i added through nuget. Project install on device, but not open(close immediately).
Steps to Reproduce
VS2017 - 15.5: 1 - Create Xamarin Forms .NET Standard. 2 - In Nuget add Realm (can add Realm.Database e DataBinding). 3 - Create manually FodyWeavers.xml in all project(Droid, iOS and UWP) with content:
<?xml version="1.0" encoding="utf-8" ?> <Weavers> <RealmWeaver /> </Weavers>4 - Create simple class model inheriting RealmObject. 4 - Run App. Observation: Realm work with UWP (without Xamarin).
Code Sample
Version of Realm and Tooling
- Realm Object Server Version: No
- Flavor:
- Developer
- Professional
- Enterprise
- Server OS & Version: ? (e.g. CentOS 6)
- Client SDK Version: Visual Studio 2017 - 15.5.2.
- Client OS & Version: Windows 10 - Pro - 1709 - Build: 16299.125 (updated)
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 33 (11 by maintainers)
@nirinchev is there any news when this bug fix will be in the next release?