We are seeking to gradually move custom artifacts to new solutions (wsp's) and I'm stuggling with loading resource strings from xml/code in original package (XXX.Package.wsp).
Resource files are now situated in new package XXX.Package.Resources.wsp.
Both assemblies are full trust/GAC deploys.
Both assemblies are signed with same strong name key file.
E.g. in feature.xml, the following reference:
will result in exception:
System.Resources.MissingManifestResourceException: Could not find any resources appropriate for the specified culture or the neutral culture. Make sure "XXX.Package.Resources.NameOfConfigFile.resources" was correctly embedded or linked into assembly "XXX.Package.Resources" at compile time, or that all the satellite assemblies required are loadable and fully signed. at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo culture, Boolean createIfNotExists, Boolean tryParents) at ... at ...
Can someone please shed light on how to achieve this?
Do I need to write my own ExpressionBuilder and use this instead of the default ResourceExpressionBuilder, or is there a more standard way?