F
FireStarter
I entered a couple of strings in the project's resource file
(Resources.resx). At execution time, I want to retrieve one of them:
ResourceManager rm = new ResourceManager(<baseName>,
Assembly.GetExecutingAssembly());
string s = rm.GetString("KEY")
I do not know what to use as the <baseName> parameter, and the help
system is very confusing on the subject. The resource file is set to be
embedded, the project is a Windows application.
I tried to use "resources" or my Assembly name as values, but I'm
getting a MissingManifestResourceException: Could not find any resources
appropriate for the specified culture or the neutral culture. Make sure
"<whatever I try>.resources" was correctly embedded or linked into
assembly "ListSelection" at compile time, or that all the satellite
assemblies required are loadable and fully signed.
Thanks for any pointers you could give me.
(Resources.resx). At execution time, I want to retrieve one of them:
ResourceManager rm = new ResourceManager(<baseName>,
Assembly.GetExecutingAssembly());
string s = rm.GetString("KEY")
I do not know what to use as the <baseName> parameter, and the help
system is very confusing on the subject. The resource file is set to be
embedded, the project is a Windows application.
I tried to use "resources" or my Assembly name as values, but I'm
getting a MissingManifestResourceException: Could not find any resources
appropriate for the specified culture or the neutral culture. Make sure
"<whatever I try>.resources" was correctly embedded or linked into
assembly "ListSelection" at compile time, or that all the satellite
assemblies required are loadable and fully signed.
Thanks for any pointers you could give me.