473,326 Members | 2,126 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

MissingManifestResourceException

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
2 8861
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: lobrys | last post by:
hi here is my problem I have sometimes the following error MissingManifestResourceException in my project during execution... I dont know how to resolve it. I saw that if you have several...
0
by: Mike | last post by:
Hi, I have a problem using ResourceManager GetString. The underlying resource is a simple text lookup using the resx data contents. When I specify a resource manager instance from an...
0
by: ShivaPrem | last post by:
Hi! I have tutorial, but I still can't get the full picture of resources. I've got the following code ResourceManager rm =new ResourceManager("myresources.en-us",...
3
by: Jesse | last post by:
Hi together, I've a problem with compiling an application with a build-Script and run it after. Several resource-files I compile with resgen.exe and put the files into a folders of the...
0
by: Ian | last post by:
Hi there, Well I managed to compile by satellite dll's but still can't get it to work. It keeps throwing the following error. (see below) My code is ok I think but there must be something...
1
by: Carlos | last post by:
Hi all, I just got an unhandled exception of type MissingManifestResourceException but do not know what it means. I declare a class before the main form, and within the namespace. can...
0
by: buran | last post by:
Dear C# / ASP.NET Programmers, I am getting the following exception in my multilingual project. The project works fine, but on some pages, e.g, after filling out a form, the contents are saved...
1
by: Rick Palmer | last post by:
Can someone explain what the hell a MissingManifestResourceException is and why I'm getting one every time I add a particular picture to my form? I've even went as far as using a button instead of...
0
by: Rob Dob | last post by:
Hi, I have a VS2003 C# asp.net project that has been converted into a VS2005 project. Everything seemed to work well until I make a modification to anything within the Component Designer...
3
by: =?Utf-8?B?TWljaGFlbCBIYWJlcmljaHRlcg==?= | last post by:
Hallo, I have a problem with a MissingManifestResourceException. I'm trying by days without finding any solution. Shortly the context: I have a .Net application (APPL_1), which does the...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.