MissingManifestResourceException

R

raju

Hai,

In my device application, i created one resource file called
"MyResource.en-US.resx". After running the tool resgen.exe and al.exe
file, i got 2 files called "myresource.en-US.resources" and
"myresources.resources.dll", and i created a directory as "en-US" and
copied these files, in the place where, my application's exe file
available.

Now, when i am running these application i got the error such as
"MissingManifestResourceException".

How to solve this exception. anybody knows the solution pl. let
me know.

thanks in advance.

Regards,
Raju.
 
S

Simon Hart

Bear in mind the CLR will look for a neutral file if you don't have the
CurrentUICulture set to (in this case) en-US. If you don't have a neutral
DLL, then an exception will be raised.

Best practice is to provide a a neutral file such as myresource. (no
extension/culture). Which contains your native language. This way, your
software should always work no matter what version of WinCE and regional
setting it is run on.

You need to read up on globalization on MSDN as pointed out in my previous
posts.

Regards
Simon.
 

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