Missingmanifestresourseexeption in auto genereted code of ImageList

119 views Asked by At

i have a problem with my autogenerated code in WinAplForm

On button click it should just open a new form with a treeView on it....this treeview uses an imageList, and now i got this error on initilisation:

in MyForm.Designer.cs file

Could not find any resources appropriate for the specified culture or the neutral culture. Make sure "WindowsFormsApplication2.MapForma.resources" was correctly embedded or linked into assembly "WindowsFormsApplication2" at compile time, or that all the satellite assemblies required are loadable and fully signed

in this line: (iltest is the name of the imagelist)

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

i checked out this topic, C#: What does MissingManifestResourceException mean and how to fix it?

which is similar to mine, and i did the same thing, right-click the Resources.resx file in the Solution Explorer and click Run Custom Tool. This re-generates the auto-generated Resources.Designer.cs file.

and it didnt worked, i still have the same problem...any suggestions?

0

There are 0 answers