Failed to load Resouces from a Resource File

1

I'm trying to make my Xamarin application be internationalized. I followed the tutorial ( link ) that works on Android, however, when testo on windows is blown the System.Resources.MissingManifestResourceException exception. More specifically

An exception of type 'System.Resources.MissingManifestResourceException' occurred in mscorlib.ni.dll but was not handled in user code

Additional information: Unable to load resources for resource file "Projeto.Resources.AppResources" in package "df348a55-72cd-4de3-a7db-cb0ecacf1e0b".

How can I solve this problem?

Obs1: There are two RESX files (AppResources.resx and AppResources.es.resx) in a PCL that is referenced in the UWP project. Obs2: In TranslateExtension instead of using

ResourceManager resmgr = new ResourceManager(ResourceId
                            , typeof(TranslateExtension).GetTypeInfo().Assembly);

I'm using

ResourceManager resmgr = AppResources.ResourceManager;
    
asked by anonymous 04.06.2016 / 06:00

0 answers