By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
448,562 Members | 1,298 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 448,562 IT Pros & Developers. It's quick & easy.

MissingManifestResourceException

P: n/a
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
Nov 17 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
This is the line that generates the exception:
<code>
this.Tree_Images.ImageStream =
((System.Windows.Forms.ImageListStreamer)(resource s.GetObject("Tree_Images.ImageStream")));

</code>

"sklett" <as**@fkd.com> wrote in message
news:ev**************@TK2MSFTNGP15.phx.gbl...
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

Nov 17 '05 #2

P: n/a
I moved an enum out of class scope and into namespace scope ABOVE the form
class
(http://support.microsoft.com/kb/q318603/)

dumb.
"sklett" <as**@fkd.com> wrote in message
news:ev**************@TK2MSFTNGP15.phx.gbl...
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

Nov 17 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.