Replacing Visual Studio App Center When You Migrate to .NET MAUI

Visual Studio App Center was retired on March 31, 2025. Many Xamarin apps used it for three things at once: crash reports, analytics and test-build distribution. If your app still references Microsoft.AppCenter, those calls no longer have a service behind them, and your build pipeline may have a step that pushes to a service that is gone.

This is a gap in most migration plans. It does not show up as a compile error, so nobody schedules it. Here is how to find it and replace it, in the order we do it.

Step 1: inventory every App Center touchpoint

Search the solution, not just the shared project.

  • NuGet: Microsoft.AppCenter, Microsoft.AppCenter.Analytics, Microsoft.AppCenter.Crashes, Microsoft.AppCenter.Distribute.
  • Code: AppCenter.Start(, Analytics.TrackEvent(, Crashes.TrackError(, Crashes.HasCrashedInLastSession.
  • Secrets: one app secret per platform, usually in App.xaml.cs or a constants file.
  • Pipelines: appcenter CLI calls, Azure DevOps App Center tasks, and build-distribution webhooks.
  • Android and iOS: the Distribute package edits the manifest and Info.plist. Look for leftover entries.

Write the list down with a count of call sites per category. The count of TrackEvent calls tells you how much of the analytics surface someone actually relies on.

Step 2: decide what each job becomes

App Center did three jobs. They have three separate replacements, and you do not have to pick one vendor for all of them.

JobOptionsTrade-off
Crash reportingSentry, Firebase Crashlytics, Application InsightsCrashlytics is free but needs the Firebase native bindings. Sentry has a .NET MAUI SDK that captures managed stack traces directly.
AnalyticsFirebase Analytics, Application Insights, or nothingAsk who reads the dashboards. If nobody has opened them in a year, retire the events.
Test distributionTestFlight, Google Play internal testing, Firebase App DistributionTestFlight and Play internal testing need no extra SDK and match the store path you will ship through anyway.

Our default for a line-of-business app: crash reporting with a managed-aware SDK, analytics only for events a named person uses, and distribution through TestFlight and Play internal testing.

Step 3: put the new crash reporter behind an interface

Do not scatter a new vendor's calls through the code. Wrap them once.

public interface ICrashReporter
{
    void Record(Exception ex, IDictionary<string, string>? context = null);
    void Breadcrumb(string message);
}

Replace each Crashes.TrackError(ex, props) with crashReporter.Record(ex, props). Register the implementation in MauiProgram.cs. The next time a vendor retires a service, the change is one class.

Keep the shared view models free of vendor types. If you have written characterization tests around them, they should not change in this step. If they do, you have found a view model that was talking to App Center directly.

Step 4: initialise early, and unhandled exceptions too

Initialise the reporter in MauiProgram.CreateMauiApp() so that start-up crashes are captured. Then hook the unhandled exception sources, because each platform has its own:

  • AppDomain.CurrentDomain.UnhandledException
  • TaskScheduler.UnobservedTaskException
  • On Android, AndroidEnvironment.UnhandledExceptionRaiser
  • On iOS, managed exceptions raised through ObjCRuntime.Runtime.MarshalManagedException

Test this on a release build, not a debug build. Trimming, AOT and symbol upload change what a stack trace looks like. Upload debug symbols (dSYM files for iOS, the mapping file if you shrink Android code) from CI, or the first real crash report will be unreadable.

Step 5: fix the pipeline

Remove the App Center steps. Add the replacement:

  1. Upload symbols as a CI step after the archive.
  2. Send iOS builds to TestFlight with the App Store Connect API key, not a personal Apple ID.
  3. Send Android builds to a Play internal testing track with a service account.

If your testers installed builds through an App Center link, tell them the link is dead and what replaces it. This is the step that most often gets forgotten, and the first signal is a tester asking where the new build is.

Step 6: check what you can retire

Distribution groups, per-build release notes and custom analytics dashboards may have no replacement. That is fine. Retire them on purpose and write down that you did.

What to expect

For a small app, this is days of work, not weeks. The effort sits in the analytics inventory and the pipeline, not in the SDK swap. We have not measured it across your codebase, so treat that as a starting estimate until the inventory in Step 1 is done.

Send us the repo

If you want a second pair of eyes on what else is hiding in the solution, send us the repo. We will read it and return a written plan: what to keep, what to rewrite, and what to retire.