Hi, I have a problem with an embedded resource file in C#. The file is a .resources-file and is embedded into a win library assembly. This assembly contains all the forms that my app is using. I'm instantiating the ResourceManager in a form as followed:
ResourceManager ResMgr = new System.Resources.ResourceManager("MyResources", System.Reflection.Assembly.GetAssembly(this.GetType())); Now, if I try to read from the ResourceManager with the GetObject/GetString method I got an exception: System.Resources.MissingManifestResourceException' occurred in mscorlib.dll Additional information: Could not find any resources appropriate for the specified culture (or the neutral culture) in the given assembly. Make sure "MyResources.resources" was correctly embedded or linked into assembly "MyApplication.UI". I have checked and the file name and the name of the resource I try to get are both right. Now I have no idea what's going wrong. Have one of you an idea? Thanks and Regards, Jan Dropczynski Software-Engineer THONA Consulting Ltd. You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.