MissingManifestResourceException

A

Atul

Hi,

I am getting following error while accessing resource file.
-----------------------------------------
An unhandled exception of type
'System.Resources.MissingManifestResourceException' occurred in mscorlib.dll
An unhandled exception of type
'Microsoft.SKTI.HostedApplication.SKTIException' occurred in skticommon.dll

Additional information: Could not find any resources appropriate for the
specified culture (or the neutral culture) in the given assembly. Make sure
"SKTICommon.Demo" was correctly embedded or linked into assembly
"SKTICommon".
baseName: SKTICommon.Demo locationInfo: <null> resource file name:
SKTICommon.Demo.resources assembly: SKTICommon, Version=2.0.0.1,
Culture=neutral, PublicKeyToken=null
 
A

Atul

Yeh! Just a wierd behavior. But when I declared the resource file as:

ResourceManager rm = new ResourceManager("Demo",
Assembly.GetExecutingAssembly());

instead of

ResourceManager rm = new ResourceManager("<MyAppDLL>.Demo",
Assembly.GetExecutingAssembly());

It works.
(Note: Demo is my resource file included in the same namespace).

Anyway, thanks for giving me another pointer.

Regards,
Atul


Jax said:
It might a wierd bug that i've come across before.
If it's a form DO NOT declare any class types, delegates etc BEFORE the
declaration of the form, put them underneath.
 

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