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
Wednesday, July 16, 2008
Subscribe to:
Posts (Atom)