ImageList bug

371
1
09-04-2012 09:32 AM
AndyWright
Occasional Contributor
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.
0 Kudos
1 Reply
JohnHauck
Occasional Contributor II
The Microsoft KB 2028833 should help you address this.
0 Kudos