ArcGIS Runtime SDK for WPF - Library Reference
InstallPath Property
See Also 
ESRI.ArcGIS.Client Namespace > ArcGISRuntime Class : InstallPath Property

Gets or sets the path of the runtime deployment folder to be used by your application.

Syntax

Visual Basic (Declaration) 
Public Shared Property InstallPath As String
C# 
public static string InstallPath {get; set;}

Remarks

By default the API will automatically look for a runtime folder during initialization. It will first check the location of your application executable for a valid runtime deployment folder. If one is not found adjacent to your application, the API will then check for an installation of the ArcGIS Runtime SDK for WPF. If a valid runtime deployment folder is not found in either of these locations the initialization will fail with an exception. Alternatively, you can set the InstallPath property to skip the automatic search and use a different path.

The path can be relative and will be resolved by the API relative to your executable (.exe) location. UNC paths are also supported. For developers working with the ArcGISRuntime SDK for WPF, the SDK contains a deployment which will be used if a valid runtime deployment folder is not found adjacent to your executable.

Property Value

A string containing the path to the runtime deployment folder.

Requirements

Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows 7, Windows 8

See Also

© ESRI, Inc. All Rights Reserved.