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.

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.