Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7162717
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T13:46:52+00:00 2026-05-28T13:46:52+00:00

In the project I’m working on, there is a certain form that contains an

  • 0

In the project I’m working on, there is a certain form that contains an ImageList control. Up until a few days ago, everything was working fine, and there were 5 images in the control.

Then one of my co-workers added a 6th image to the control. I got latest version from source control, and suddenly my project would not compile anymore. Error message:

error RG0000: Could not load file or assembly ‘file:///D:/MyProjectPath/Bin/Debug/SomeOther.dll’ or one of its dependencies. An attempt was made to load a program with an incorrect format.

This error message is obviously bogus. There is no connection whatsoever between the ImageList control and SomeOther.dll. When I reverted the changes my colleague made, the project compiled fine again. But if I tried just to remove the one image he added, it still gives the compiler error. In fact, if I remove all the images, then add a new one myself, it still throws the error. Only if I remove all images from the ImageList will it compile!

Something is really not cool here. To summarize:

  • The old code in source control compiles fine, with 5 images in the ImageControl.
  • If anyone (myself included) adds a new image, it doesn’t compile.
  • Even after removing the new image, the project does not compile. A file diff between the resx files reveals that one or two characters in the whole long “imageList.ImageStream” encrypted string have been changed. The project does not recompile until those characters have been reverted to their old value.
  • This problem only exists in my dev environment. Every other developer has no trouble at all.

Any ideas?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T13:46:53+00:00Added an answer on May 28, 2026 at 1:46 pm

    Solution found here. It’s a known bug at Microsoft since may 2010, and they have still not released a patch. Have to use the workaround suggested there. What a PAIN!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Project A contains a WPF Window (Data Entry Form) with a stack panel of
My project is master/content. The client validation always scrolls the first control that is
A project I'm working on at the moment involves refactoring a C# Com Object
Project Requirements: I need to build a web service that will receive chunks of
Project I'm working on uses jQuery. I have a series of Ajax calls being
project is written on php. There is timestamp field in mysql it updates automatically.
Project A depends on project B. On compilation time , everything is OK. On
Project file here if you want to download: http://files.me.com/knyck2/918odc So I am working on
Project is C#. So I have a bunch of multithreaded code that is designed
Project Structure I have a silverlight project SLProj, that references a silverlight class library

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.