Skip to content
Wolf edited this page Nov 6, 2024 · 30 revisions

ArcGIS Pro 3.4 SDK for .NET Community Samples Wiki

Welcome to the arcgis-pro-sdk-community-samples wiki!

This repository contains ArcGIS Pro Add-In Samples for the ArcGIS Pro 3.4 SDK for .NET. The samples are demonstrating the key functionalities in the following functional areas of ArcGIS Pro: Content, Framework, Editing, Geodatabase, Geometry, Geoprocessing, Layouts, Map Authoring, Map Exploration, CoreHost, DataReviewer, Tasks, Sharing, and Workflow Manager.


In this topic

Resources

You can use the above Pro SDK Icons as the image for your controls on the Pro Ribbon. Code snippet below provides the pack URI to be used in your add-in's config.daml.
<button...largeImage="pack://application:,,,/ArcGIS.Desktop.Resources;component/Images/<ImageNameHere>"/>

The icons below are new at ArcGIS Pro 3.4. To use these icons, download the Icons.zip from this link: ArcGIS Pro SDK Icons

Requirements

The requirements for the machine on which you develop your ArcGIS Pro add-ins are listed here.

Requirements

ArcGIS Pro

  • ArcGIS Pro 3.4

Supported platforms

  • Windows 11 (Home, Pro, Enterprise) (64 bit)
  • Windows 10 (Home, Pro, Enterprise) (64 bit)

ArcGIS Pro system requirements

Supported .NET

Supported IDEs

  • Visual Studio 2022 (v17.8 or higher)
    • Community Edition
    • Professional Edition
    • Enterprise Edition

We recommend installing a minimum version of 17.8 of Visual Studio. This version includes .NET 8 as part of the Visual Studio 2022 install (.NET SDK 8.0.3). Installing a lesser version of Visual Studio 2022 may require a separate install of the .NET Desktop Runtime 8.0.3 and/or .NET SDK 8.0.3. Consult Microsoft’s Download .NET 8.0 site for more information.

Third party assemblies

Newtonsoft Json

  • At 3.4, ArcGIS Pro is using version 13.0.3.27908 of the Newtonsoft Json NuGet. If you require Newtonsoft NuGet in your add-ins it is recommended to use the same version.

WebView2

  • Add-in developers can use the new WebViewBrowser control based on Microsoft Edge WebView2. Consult the WebView2 manifest in the Pro bin\WebView folder for the current WebView2 fixed version runtime in use by ArcGIS Pro.

ArcGIS Pro system requirements

Installing ArcGIS Pro SDK for .NET

ArcGIS Pro SDK for .NET can be downloaded and installed from within Visual Studio. To install ArcGIS Pro 3.4 SDK, you must use the Extensions > Manage Extensions > Online and search for it from the Visual Studio marketplace. Use the search string "ArcGIS Pro SDK". There will be 3 separate extensions you can install:

  • ArcGIS Pro SDK for .NET,
  • ArcGIS Pro SDK for .NET (Utilities)
  • ArcGIS Pro SDK for .NET (Migration).

Some things to keep in mind: ArcGIS Pro SDK requires Visual Studio 2022. Make sure you search for the ArcGIS Pro SDK inside Visual Studio 2022 or you will find ArcGIS Pro 2.9 SDK. Also ensure you have .NET 6.0.5. There will not be an update notification from Visual Studio even if you have a previous version of the SDK installed and "Automatic updates" turned on.

Read the ProGuide: Installation for detailed installation instructions.

Issues

Find a bug or want to request a new feature? Please submit an issue on Esri Community | ArcGIS Pro SDK Questions.

Contributing

Esri welcomes contributions from anyone and everyone. Please see our guidelines for contributing.

Refer to this wiki for detailed instructions on the ArcGIS Pro SDK Samples submission process.

Licensing

Copyright 2024 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:

https://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.

Test