|
Failed to find any resources suitable for the specified culture or non-specific culture. Please ensure that "Strings.resources" is properly embedded or linked to the assembly "App_Web_oplm6m_7" at compile time, or that all required satellite assemblies are loadable and fully signed.
My resource file: Strings.en-US.resx, has been placed under the App_GlobalResources folder
Resource file calling code:
ResourceManager m_ResourceManager = new ResourceManager ("Strings", Assembly.GetExecutingAssembly ());
CultureInfo m_CultureInfo = new CultureInfo ("en-US");
this.lblTop.Text = m_ResourceManager.GetString ("div_top", m_CultureInfo);
. . .
ResourceManager m_ResourceManager = new ResourceManager ("Strings", Assembly.GetExecutingAssembly ());
Is this sentence wrong, is it necessary to add a namespace or something, but vs2015 all generate assemblies by themselves, can not customize the namespace ah
Please guide, anxious. . . Thank you |
|