Important note on Silverlight / WPF Applications

Access modifier for resource assemblies

The LocalizationExtension will fail to look up a localized value, if the resource is compiled with its access modifier set to internal. To set up the resource build tool to use a public access modifier, open the resource file and change the value of the field as shown in this picture:


Previous topic: Supported resource types

Last edited Dec 3, 2012 at 10:24 AM by SeriousM, version 5


odalet Dec 4, 2012 at 7:48 PM 
Well, I understand this is needed for SL apps (lack of non-public reflection support), but I don't understand this limitation for WPF.
By the way, it appears that, in XamlLocalizationTest, ResTexts.resx is assigned the ResXFileCodeGenerator custom tool (not the PublicResXFileCodeGenerator one) and though, your lib is working perfectly well.