MongoDB.live, free & fully virtual. Register Now MongoDB.live, free & fully virtual. Register Now

MongoDB realm, Xamarin Forms, and App.Create

Following the .NET SDK quick start.

When I add
var app = App.Create();
I am told Create is not part of App.

Yes, I have added
using Realms;

What am I missing?

Likely the compiler is resolving App from Xamarin.Forms. You can try fully qualifying it: Realms.Sync.App.Create(...).

1 Like

Thanks. An initial test indicates that will solve the issue. When I get back to the point of trying that bit of implementation I will investigate more deeply.