Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm working on a custom addin with C# + VS2010 + Arc10.1 Pre Release and I don't seem to find the way to make custom icons work for a button that the extension holds and for the extension itself. I pointed the Config.esriaddin appropiate attributes to the files which are both png with alpha transparencies (the icon is 16x16 and the extension img is 64x64). Is there any rule about creating images for icons I'm missing? Why would this not work? Thanks in advance.

share|improve this question
What doesn't work and have you compared your project to some of the samples or a default/blank new project? – blah238 Jun 22 '12 at 19:55

I have been struggling with this for a long while too. For example the standard blue dot icon for a button does show, but all my custom icons did not.

By default Visual Studio sets the build action for an image you add to the solution to 'Content'. Apparently this has to be set to 'AddInContent'. After I changed this, all my button images where visible.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.