MissingManifestResourceException raised

G

Guest

hi all.I am developing a web based app / VS 2005 /.I added some language
spesific
resx files / only strings / to globalize my app ( app.en-US.resx,
app.fr-FR.resx..)
These resx files were put automatically in the App_GlobalResources.

I use a code like this:

protected void Page_Load(object sender, EventArgs e)
{
Thread.CurrentThread.CurrentCulture = new CultureInfo("en-US");
Thread.CurrentThread.CurrentUICulture = new CultureInfo("en-US");

ResourceManager resMngr = new ResourceManager("App.strings",
Assembly.GetExecutingAssembly());

Label1.Text = resMngr.GetString("test");
}

And then I receive MissingManifestResourceException exception.Indeed there
are no satellite assemlies in folders en-US, fr-FR under the bin.Why

Please help.
 

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

Members online

No members online now.

Forum statistics

Threads
473,754
Messages
2,569,522
Members
44,995
Latest member
PinupduzSap

Latest Threads

Top