Hello,
I’m developing an ArcGIS Pro add-in using the Pro SDK (version 3.4), and I’ve run into an issue where the smallImage icon is not displaying as expected.
In my Config.daml, I’ve defined a button like this
<button id="MyAddin_MyButton" caption="My Button"
className="MyButtonClass"
loadOnClick="true"
smallImage="Images/AddInDesktop16.png"
largeImage="Images/AddInDesktop32.png">
</button>
I'm using the default AddInDesktop16.png that is automatically generated when creating a ProWindow in Visual Studio 2022.
However, when ArcGIS Pro's ribbon resizes (e.g., when the window is narrowed), instead of displaying the small icon, it shows a blue placeholder circle.
Here’s what I’ve already confirmed:
・AddInDesktop16.png is exactly 16×16 pixels.
・Build Action is set to Resource.
・"Copy to Output Directory" is set to Do not copy.
・The image is placed in an Images folder inside the project.
・It is referenced in the .daml using a relative path: "Images/AddInDesktop16.png".
Even when replacing it with a plain red square, the issue persists — so I suspect it’s not an image visibility or transparency issue.
My development environment is as follows:
・ArcGIS Pro 3.4
・Visual Studio 2022
・.NET 8
Is there something else I need to configure, or is this a known issue in 3.4? Any insight would be appreciated!