MissingManifestResourceException

S

sklett

I'm getting the exception:
<exception text>
An unhandled exception of type
'System.Resources.MissingManifestResourceException' occurred in mscorlib.dll

Additional information: Could not find any resources appropriate for the
specified culture (or the neutral culture) in the given assembly. Make sure
"MainForm.resources" was correctly embedded or linked into assembly
"FirmwareEditor".
baseName: MainForm locationInfo: PMD.FirmwareEditor.MainForm resource file
name: MainForm.resources assembly: FirmwareEditor, Version=1.0.2104.13245,
Culture=neutral, PublicKeyToken=null
</exception text>


I googled and found that I should check to see if the missing resource is
embedded in the assembly, from what I can tell using ILDASM it's there, I
found this entry in the Manifest
<code>
..mresource public FirmwareEditor.MainForm.resources
{
}
</code>


I can't insert what is already there, so what else could cause this? I'm
building this from Visual Studio 2003 and things were working find until I
added a new class to my project, could be a coincidence, I don't know. Any
ideas?

I hope this is an appropriate group to post in.

Thank you,
Steve
 
S

sklett

This is the line that generates the exception:
<code>
this.Tree_Images.ImageStream =
((System.Windows.Forms.ImageListStreamer)(resources.GetObject("Tree_Images.ImageStream")));

</code>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top