0
votes

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

1
did you follow the instructions in section 4.1? - Jason
Yes, I’m not missing the using statements - Ryan Mendoza
Can it be that your own app namespace is AppCenter? - EvZ
@EvZ, no... namespace for the app is EmployeeApp.* - Ryan Mendoza
Hi Ryan, This is Ben from the App Center team. Can you get in touch through our support? There's a big blue button in the bottom right corner of the App Center Portal. - Ben Scholtysik

1 Answers

0
votes

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(...)