laptop and a wrench

不具合

The error message, "The given key was not present in the dictionary" is returned when adding a new ArcGIS Pro ProWindow item in a sub-folder of an ArcGIS Pro Add-In C# Project in Visual Studio 2019.

最後に公開された状態: March 21, 2020 ArcGIS Pro SDK for .NET
不具合 ID 番号 BUG-000128235
送信されましたJanuary 29, 2020
最終更新日July 20, 2025
適用対象ArcGIS Pro SDK for .NET
見つかったバージョン2.4.3
オペレーティング システムWindows OS
オペレーティング システムのバージョンN/A
修正されたバージョン2.6
ステータスFixed

対処法

For the workaround, there are two options:

  • Add the ProWindow item directly in the Project main folder, or
  • Use the workflow described in the Steps to Reproduce, ignore the error, then manually add the DAML code associated with the ProWindow item into the config.daml.

 

Adding the ProWindow item directly in the Project folder

 

Create a new C# ArcGIS Pro Add-in project, then add a ProWindow item, for example, right-click ProAddModule7 > Add > New Item > ArcGIS Pro ProWindow.2020-03-04_9-40-49.png

 

This correctly adds the ProWindow Item DAML code and other files (e.g button images) as shown in the figure below.

2020-03-04_9-43-08.png

 

Executing the project produces the correct results as shown in the figure below.

2020-03-04_9-51-19.png

再現の手順

不具合 ID: BUG-000128235

ソフトウェア:

  • ArcGIS Pro SDK for .NET

バグのステータスが変更されたときに通知を受け取る

Esri Support アプリのダウンロード

このトピックについてさらに調べる

ArcGIS エキスパートのサポートを受ける

テクニカル サポートへのお問い合わせ

Esri Support アプリのダウンロード

ダウンロード オプションに移動