I am trying to bind a static string defined in the Resources.resx called title. When I run the application I get the following error below.
Upon investigating the err
It seems that you need to use the PublicResXFileCodeGenerator
generator.
Try right clicking on the resource file in the Visual Studio Solution Explorer and selecting the Properties
option and then setting the Custom Tool
property to PublicResXFileCodeGenerator
. You can also set the Access Modifier
property to Public
in the resources designer window in Visual Studio.