Configuration mappings

Important

Visual Studio App Center is scheduled for retirement on March 31, 2025. While you can continue to use Visual Studio App Center until it is fully retired, there are several recommended alternatives that you may consider migrating to.

Learn more about support timelines and alternatives.

Xamarin Solutions can be configured to build certain projects and ignore others using custom build configurations. These configurations can minimize possible errors and reduce the build time for your code.

This guide explains how to configure custom builds in Visual Studio for Windows or macOS. To configure Xamarin projects in Azure DevOps, refer to the Xamarin Azure DevOps guide

Modifying Solution Configuration Mappings

Where to change the Configuration Mapping depends on the IDE you use.

  1. In Solution Explorer, right-click the solution, and open the Configuration manager. Visual Studio for Windows Solution Explorer

  2. Select the solution configuration and platform. Visual Studio for Windows Configuration Manager General View

  3. Choose the active solution configuration, platform, respective project configurations, and Build/Deploy options. The Deploy option has no effect when building in App Center.

You can read more about configuration mappings in the Visual Studio official documentation.