Select to view content in your preferred language

Ribbon button images not displaying

1838
2
Jump to solution
08-04-2017 03:47 PM
mfcallahan
Frequent Contributor

I can't seem to get the icon images to display in my ArcGIS Pro Add-ins.  I'm using the default sample icons provided in the ArcGIS Pro SDK Community Samples.  Here is a quick screenshot of my solution, showing the folders where the images are saved, and the Config.daml file where they are referenced:

However, the icons do not get displayed when the add-in is executed:

The icons DO work for the sample add-in projects, however.  The image files and location are the same in my solution and the sample solution. The markup referencing the images is the same as well.

What should I be looking for in my solution to properly set an image as the ribbon button icon in ArcGIS Pro?

Tags (4)
0 Kudos
1 Solution

Accepted Solutions
CharlesMacleod
Esri Regular Contributor

Make sure the build action is set to "AddInContent"

View solution in original post

2 Replies
CharlesMacleod
Esri Regular Contributor

Make sure the build action is set to "AddInContent"

mfcallahan
Frequent Contributor

Thank you for the reply - this solved my issue. Good to know that I need to set the build action when I bring in some more custom icons.

0 Kudos