Estoy intentando compartir un archivo de recursos (archivo .resx) de mi web (Servicio de RIA? Host de Silverlight) al cliente (Silverlight) vinculando el archivo de recursos a mi cliente. Cuando intento acceder a los recursos que utiliza el objeto ResourceManager
me sale el siguiente error:¿Por qué es tan difícil compartir archivos de recursos (resx) con mi cliente de Silverlight?
System.Resources.MissingManifestResourceException was caught
Message=Could not find any resources appropriate for the specified culture or the neutral culture. Make sure "PPCa.Modules.ProjectManager.Client.ViewModels.ResourceStrings.resources" was correctly embedded or linked into assembly "PPCa.Modules.ProjectManager.Client" at compile time, or that all the satellite assemblies required are loadable and fully signed.
StackTrace:
at System.Resources.ManifestBasedResourceGroveler.HandleResourceStreamMissing(String fileName)
at System.Resources.ManifestBasedResourceGroveler.GrovelForResourceSet(CultureInfo culture, Dictionary`2 localResourceSets, Boolean tryParents, Boolean createIfNotExists, StackCrawlMark& stackMark)
at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo requestedCulture, Boolean createIfNotExists, Boolean tryParents, StackCrawlMark& stackMark)
at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo culture, Boolean createIfNotExists, Boolean tryParents)
at System.Resources.ResourceManager.GetString(String name, CultureInfo culture)
at System.Resources.ResourceManager.GetString(String name)
at PPCa.Modules.ProjectManager.Web.Helpers.ResourceHelper.GetEnumText[TResource](ProjectStatus a_projectStatus)
InnerException:
Editar:
cuando digo que vinculaba el archivo de recursos, quiero decir que estoy utilizando el 'Agregar Opción de enlace al agregar el archivo resx existente a mi proyecto.
¿Es porque el tipo de proyecto SL usa un subconjunto del framework .NET y el tipo de proyecto de serivio RIA no? –
¿qué quieres decir? – Jordan