views:

266

answers:

2

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?

A: 

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.

craigmoliver
+1  A: 

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

baretta
If I could I'd up this answer 1 million times I would. You brought hours of misery to an end.Note sure how my resource was changed from "Embedded Resource" to "Content" but this was indeed the problem.THANK YOU!
Justin