WPF Localization – Properties for the resource file in VB

By default the Custom Tool property for a VB resource file is VbMyResourcesResXFileCodeGenerator. However, with this code generator the view (XAML) will not be able to access the resources. To solve this problem add Public before the Custom Tool property value.

To select the Resources.resx file in a VB WPF project:

  • Select the project in solution explorer
  • Select "Show all files"
  • Expand "My Project"

enter image description here

if you want to reproduce, please indicate the source:
WPF Localization – Properties for the resource file in VB - CodeDay