I've been trying to get a string from resources file:
var resourceManager = new ResourceManager(typeof(Properties.Settings));
var recent1 = resourceManager.GetString("recent1");
But I got an exception:
System.Resources.MissingManifestResourceException: 'Could not find any resources appropriate for the specified culture or the neutral culture. Make sure "ProCodeX.Properties.Settings.resources" was correctly embedded or linked into assembly "ProCodeX" at compile time, or that all the satellite assemblies required are loadable and fully signed.
How do I fix it?
var str = Properties.Resources.recent1;to obtain the string value instead. When adding a string to the resources the template usesinternal staticsignature for the property.