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.
 
Ad

Advertisements


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