0

I am trying to add the AppCenter SDK functionality to my Xamarin Forms app (iOS and Android) and am following the documentation from here.

I am experiencing an issue with the namespaces not seeming to line up quite right. Here is a screenshot with some comments:

enter image description here

As you can see, AppCenter.Start(...) does not appear to exist but Microsoft.AppCenter.AppCenter.Start(...) does.

The shared project for my Xamarin Forms app is a .NET Standard 2.0 shared lib.

Any thoughts on what could be causing this?

Additional setup screenshots:

NuGet Setup Shared Project Setup

Ryan Mendoza
  • 920
  • 1
  • 13
  • 27

1 Answers1

0

As you can see the screenshot attached, AppCenter is a class under Microsoft.AppCenter namespace, so what you are writing is correct only Microsoft.AppCenter.AppCenter.Start(...)

You can find the same by pressing F12 on AppCenter in AppCenter.Start(...)

MShah
  • 1,247
  • 9
  • 14