What is wrong here?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi, friends,

In RepositoryFileSelect form, I have a TreeView control, which has its
imageList property being assigned to a TreeViewImageList control. All images
are added into this TreeViewImageList control, and everything looks fine.

However, when I compiled it, it stopped at:

this.TreeViewImages.ImageStream =
((System.Windows.Forms.ImageListStreamer)(resources.GetObject("TreeViewImages.ImageStream")));

Further error messages say:

Could not find any resources appropriate for the specified culture (or the
neutral culture) in the given assembly. Make sure
"RepositoryFileSelect.resources" was correctly embedded or linked into
assembly "RepositoryFileSelect".
baseName: RepositoryFileSelect locationInfo:

What does it really want me to do? I already addes all image .bmp file into
the project....

Thanks a lot.
 
I once had the same error. try to delete the bin and obj directories in your
project folder and do a complete rebuild, the problem should go away then.
 
Back
Top