Deploy an app
In this topic
Apps built with
ArcGIS Runtime SDK for .NET can be deployed to your users by uploading your app package to the Windows Phone Store, or by sideloading it directly onto a device. In either case, you'll need to prepare your app for deployment and test it on real devices to ensure a quality experience before putting it in the hands of your users.
The following broad steps are required to prepare your app for deployment:
- License your app.
- Add attribution.
- Create a deployment of ArcGIS Runtime (for the platforms you want to support).
- Deploy to a device for testing
Deployment steps differ for each platform in the
ArcGIS Runtime SDK for .NET (Windows Desktop, Windows Store, and Windows Phone). Please consult the deployment information for each platform you want to deploy.
License your app
Before creating a deployment, you must ensure that your app includes logic to apply the proper licensing for the functionality it provides. Consult the License your app topic for licensing requirements and instructions.
There is no need to license your app when deploying to devices for testing. You can deploy your app for testing using a developer license.
You are required to attribute Esri in your Windows Phone app according to the following guidelines.
- ArcGIS Runtime SDK for .NET—About and Credit screens must include the following text:
Mapping API provided by Esri ArcGIS Runtime SDK for .NET.
- Map data—All map data used in an application must be attributed in the About and Credit screens using the Copyright Text section of the REST endpoint or endpoints being used. For example, ESRI_Imagery_World_2D service must use
Copyright:© 2009 ESRI, i-cubed, GeoEye.
- Esri logo—If your application uses data served by Esri through ArcGIS Online, display a logo on the map pursuant to the logo guidelines below. Examples of such data can be found on the ArcGIS Online maps page.
When using Bing Maps in your application, it's important to include the proper attribution information. See the Branding Guidelines from Microsoft for more information.
Esri logo guidelines
The following guidelines must be followed when applying logo attribution.
- Minimum size of the logo is 43 x 25 pixels.
- Place the logo directly on the map with no background.
- Logo should be located on the bottom left corner of the map.
- Do not apply transparency to the logo.
- Do not overlap with another logo or visual component (excluding elements of the map).
Deploy to a device for testing
Application Deployment Tool that comes with the
Windows Phone SDK 8.1 can be used to deploy a Windows Phone app to a connected device without having to go through the Windows Phone Store. The basic steps are described below, consult the links provided in the instructions for more detailed information.
- Ensure that you have satisfied the prerequisites described on the Windows Store apps Dev Center.
- Open the project for the app you want to deploy in
- In the
Visual Studio Configuration Managerdialog box for your project, specify
Platformfor your deployment.
- Build your project.
- From the
Create app packages. Choose
Nowhen prompted to create a package to upload to the Windows Phone Store. Choose an output folder for the package.
A new app package (*.appx) is created in the folder you specified. This is an archive file that contains the all files required to run your app. To view its contents, you can change the extension to *.zip and open it in Windows Explorer. Inside, you'll find your app's executable, the ArcGIS Runtime assembly, and an ArcGIS Runtime deployment folder (if you created one).
- Connect your Windows phone to your development machine and make sure the screen is unlocked.
- Start the
Windows Phone Application Deployment tool. This tool is part of
Windows Phone SDK 8.1, which is included with Visual Studio 2013 (including the Express edition).
- In the
Targetdrop-down list, choose your device.
Browseand browse to the
.appxfile for your app (in the appropriate deployment folder, as described above).
Statuslabel reports error details if the deployment was unsuccessful.
- Use your device to start and test the app.
Consult the System requirements topic for the supported target machine requirements.
For more information about deploying Windows Phone apps, consult the following links: