Skip to content

MagicWang/arcgis-runtime-samples-dotnet

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

arcgis-runtime-samples-dotnet

This project contains samples for the ArcGIS Runtime SDK for .NET - Desktop, Store, and Phone APIs. Samples for each API are hosted in a simple application framework.

Instructions

  1. Fork and then clone the repo or download the .zip file.
  2. Confirm the supported system configuration for the API of interest in the ArcGIS Runtime SDK for .NET:
  1. In Visual Studio, open the solution for the Desktop, Phone, or Store samples.
  • Windows Desktop: src\Desktop\ArcGISRuntime.Samples.Desktop.sln
    • Clean, build, and run the application.
  • Windows Phone: src\Phone\ArcGISRuntime.Samples.Phone.sln
    • In Visual Studio go to Build > Configuration Manager. Select the appropriate active solution platform. If deploying to a device, use ARM. If deploying to the emulator, use x86.
    • Clean, build, and run the application.
  • Windows Store: src\Store\ArcGISRuntime.Samples.Store.sln
    • In Visual Studio go to Build > Configuration Manager. Select the appropriate active solution platform. If deploying to a Windows RT 8.1 device, use ARM. If deploying to a Windows 8.1 device (or simulator), select the appropriate processor type, x86 or x64.
    • Clean, build, and run the application.

Optional : Open all platform solutions in Visual Studio using src\ArcGISRuntime.Samples.All.sln

Notes:

Optional: Change references to use the installed SDK instead of NuGet package

Some of the samples require either the SDK installation or deployment to work, which is not available with the NuGet deployment. If you have installed the full ArcGIS Runtime SDK for .NET SDK and prefer to use it instead of using NuGet installation, follow the steps below:

  1. Remove / Uninstall Esri.ArcGISRuntime NuGet-package reference from the solution.
  • Click "Manage NuGet Packages for solution..." from Tools \ NuGet Package Manager
  • See Installed Packages tab and remove "Esri.ArcGISRuntime" package
  1. Add references to projects.
  2. Prepare deployment
    • Windows Desktop - Delete deployment folder (arcgisruntime10.2.5) from output folder if it exists. This step makes sure that centralized developer deployment is used and no deployment is needed
    • Windows Store / Windows Phone - create deployment following guide and make sure all extra capabilities are checked for deployment.

Requirements

Resources

Issues

Find a bug or want to request a new feature? Please let us know by submitting an issue.

Contributing

Anyone and everyone is welcome to [contribute] (https://github.com/Esri/arcgis-runtime-samples-dotnet/wiki/Contributing).

Licensing

Copyright 2014 Esri

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

A copy of the license is available in the repository's license.txt file.

Modern UI Icons

Icons included under the Assets folder in the Phone and Store projects are from Modern UI Icons. License information can be found at https://github.com/Templarian/WindowsIcons/blob/master/WindowsPhone/license.txt

[](Esri Tags: ArcGIS Runtime SDK Windows Desktop Store Phone C-Sharp C# XAML) [](Esri Language: DotNet)

About

Samples for the ArcGIS Runtime SDK for .NET - Desktop, Store, and Phone

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 100.0%