ImageList bug

Discussion created by azatrain on Sep 4, 2012
Latest reply on Sep 5, 2012 by jhauck-esristaff
I am developing an ArcMap AddIn.  I tried to place an ImageList control on one of my forms, and once I add at least one image to the list and try to build the solution I get the following error:

Could not load file or assembly 'file:///C:/Program Files (x86)/ArcGIS/DeveloperKit10.0/DotNet/ESRI.ArcGIS.ArcMapUI.dll' or one of its dependencies. An attempt was made to load a program with an incorrect format.

If I remove all images from the image list it builds fine.  Has anyone seen this behavior?  Is it fixed in a future service pack?

I am using ArcGIS Desktop 10 SP1 and Visual Studio 2010.