Reputation: 35679
In the middle of some refactoring and I've moved a resources file from one project to another. I think I clicked a warning telling me to Strongly type the resource file at one point and now I'm getting:
Could not find any resources appropriate for the specified culture or the neutral culture. Make sure "MyProject.Common.ResourceManagement.resources" was correctly embedded or linked into assembly "MyProject.Common" at compile time, or that all the satellite assemblies required are loadable and fully signed.
Which is from a MissingManifestResourceException I beleive.
http://msdn.microsoft.com/en-us/library/system.resources.missingmanifestresourceexception.aspx
I've looked up a couple of the solutions:
But none of them seem relevant to my situation.
Any ideas? This has been bugging me for a few days now.
Am I doing something stupid?
Upvotes: 1
Views: 626
Reputation: 7595
Are you sure these resource files are embedded into the assembly? Maybe you've lost the "Embedded Resource" settings as you moved the files. Further, the resource names may have changed. The fully qualified name of a resource is AssemblyName + physical subfolder(s) + resource name
Upvotes: 1
Reputation: 6562
Can you export them to a text file from the original project and import them into the new project? If it's just key/value pairs it should be simple.
Upvotes: 0