Search code examples
xamarin.formsvisual-studio-app-center

Start does not exist in the namespace AppCenter


After installing the AppCenter SDK and trying to initialize it in Xamarin forms using this method:

AppCenter.Start("ios={Your App Secret};android={Your App Secret};uwp={Your App Secret}", typeof(Analytics), typeof(Crashes));

I got this error:

The type or namespace 'Start' does not exist in the namespace 'AppCenter' (are you missing an assembly reference?)

Solution

  • For a Xamarin Forms app, please make sure the packages are installed in all the projects that reference any libraries. The error that you see is mostly because the packages aren't added to all the projects.