I followed this guide to implement a page with settings for my ArcGIS Pro AddIn (for 2.9.x):
https://github.com/esri/arcgis-pro-sdk/wiki/ProGuide-Custom-settings#custom-application-settings
When I open the Options dialog, it works on my machine.
When I install the Add In on the customers machine, and I open the Options dialog, there is a wait indicator which does not stop. My page is never shown. What can be wrong here?
Stefan_Offermann_0-1668011977236.png
The version of Pro is exactly the same on both machines:
Stefan_Offermann_1-1668012036428.png
Stefan_Offermann_2-1668012053307.png
Solved! Go to Solution.
The problem was a Setting of type Date, which had no default value:
Stefan_Offermann_0-1668076714776.png
After setting a reasonable value, the Options page loaded:
Stefan_Offermann_1-1668076746325.png
This line of code failed in the InitializeAsync() method:
StartDate = _startDateOrig = Settings.Default.StartDate;
The problem was a Setting of type Date, which had no default value:
Stefan_Offermann_0-1668076714776.png
After setting a reasonable value, the Options page loaded:
Stefan_Offermann_1-1668076746325.png
This line of code failed in the InitializeAsync() method:
StartDate = _startDateOrig = Settings.Default.StartDate;