Мне нужно использовать один и тот же файл ресурсов для разных проектов.
Имя моего файла ресурсов называется Resource1.resx, и я создал файл расширения .resources с помощью resgen, а я создал файл .resources.dll с помощьюal.exe
Но затем, когда я пытаюсь использовать файл в своем проекте, я получаю одну ошибку, мой код выглядит примерно так:
ResourceManager resmgr = new ResourceManager("Resource1",
Assembly.GetExecutingAssembly());
string msg = resmgr.GetString("name");
MessageBox.Show(msg);
Сообщение об ошибке является чем-токак это:
Could not find any resources appropriate for the specified culture or the neutral culture. Make sure "Resource1.resources" was correctly embedded or linked into assembly "WinTest" at compile time, or that all the satellite assemblies required are loadable and fully signed.
Как решить эту проблему?