I am writing a class library in C # using sharp develop. I am including a resx (resource) file that contains some string values. I am using the following code:
ResourceManager rm = new ResourceManager("ResourceFileName",this.GetType().Assembly);
string str=rm.GetString("Keyname");
It compiles fine. At runtime, it raises the following error:
Could not find resources suitable for the specified culture or neutral culture. Make sure "ResourceFileName.resources" - either the "myassembly" assembly is correctly embedded at compile time, or that all satellite assemblies required are downloadable and fully signed.
The question is, is it impossible to use a resx file in Sharpdevelop? If yes, then how to solve this problem.
Thanks and Regards,
Vamyip