set up for resource files in Visual studio:
Add the below line in your class
ResourceManager rm = new ResourceManager("%NAMESPACE TO BE REPLACE WITH THE DEFUAT NAMESPACE OF LIBRARY%.ErrorMessages", Assembly.GetExecutingAssembly());
rm.GetString("%RESOURCE KEY HERE%");
thats it ,... to read resource in a dll from the same dll
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment