Good afternoon. I'm having a problem accessing defined values in resx files from shared code in Xamarin Forms. No failure to compile, but upon execution I get an exception of type File.IO.NotFound, as if the resource file did not exist inside the mobile device (either in the emulator or on a physical device.
To access the value inside the resource file, I use the following static method: Resources.Colors.ColorPrimary.
Actions that have already been taken: Compile action change to Copy Always, resource class changed to public.
ps: The files are generated in the bin \ debug directory
Solved. Since I was using a different CultureInfo, I had to create all the resource files for the specified culture. Since I had separated a resource file for each purpose (Colors, Values and String) I had to create an equal file for each culture.