Help on using Resources....

Oct 27 2004 10:39 AM
I always get MissingAssemblyResourceException with this code snippet: ResourceManager rm = new ResourceManager ("Resources",Assembly.GetExecutingAssembly()); string conStr = rm.GetString("conStr"); The detailed message is Could not find any resources appropriate for the specified culture (or the neutral culture). Make sure \"Resources.resources\" was correctly embedded or linked into assembly \"ResGen\" at compile time. Where ResGen is the name of my app and Resources is the default resource file that comes with every new WindowsApplication. I just defined a string "conStr" which is supposed to contain the connection string. What's happening here?