Deploy Local Server
You can deploy Local Server for apps developed using either .NET Framework or .NET 6 for Windows. Local Server is not supported for apps developed using UWP or .NET 6 for iOS, Android, and Mac Catalyst.
For your application to use Local Server functionality you must create a Local Server deployment to include along with your application. The ArcGIS Maps SDK for Local Server installation includes all the components of Local Server. From the SDK installation you will create a deployment that includes only the components your application requires, reducing the footprint of your application.
The first time you build an application project that references the
Esri.ArcGISRuntime.Local NuGet package, a deployment manifest file is created on disk in your project directory. This file is named
x represents the minor version of
Esri.ArcGISRuntime.Local NuGet package.
The deployment manifest file is an XML-formatted text file that defines the components (listed as
Package elements) of Local Server to deploy for your application. The top-level
Package element in the file provides the ability to read geoprocessing and map packages created with ArcGIS Pro. Under the parent element are
Child elements that are required to enable specific functionality such as geoprocessing, Python scripting support, and additional data formats. By default, only the core ArcGIS Pro Local Server component is enabled which is sufficient to support local map and feature services that reference ArcGIS file data sources, such as File Geodatabase. To include additional capabilities, you can edit the file in Visual Studio or a text editor and enable features by changing
enabled="true". Only packages with an enabled value of true are included in the deployment.
<!--This local server has support for ArcGIS Pro gpkx and mpkx packages. It is 64 bit only--> <Package id="Pro" name="ArcGIS Pro Compatible Server" enabled="true">
When you build your project, the components you have enabled in ArcGISLocalServer_200.x.AGSDeployment will be copied to your project output folder under a folder named
x represents the minor version of Local Server). This folder must be deployed along with your application.
|ArcGIS Pro Compatible Server (||This is required if your application uses any local services. It is enabled by default when you initially add the |
|Microsoft C and C++ Runtime Libraries (||Including Microsoft VC++ libraries in the runtime deployment following the app-local pattern allows for |
|Provides the ability to perform geoprocessing tasks via geoprocessing packages. For a list of supported tools, refer to the Supported geoprocessing tools topic.|
|Python Scripting (||Provides the ability to use Python scripts in geoprocessing or labeling.|
|Additional Data Formats (|
|Provides additional vector file data format and raster file data format support. Enable the appropriate packages for the formats your application needs to support.|
|Additional Projection Engine Transformations (||Adds additional projections and geotransformations. For more information on coordinate systems, refer to the Spatial references topic.|
|Supports debugging of your deployed app. Should be used for testing only, and not included in your final app deployment.|