I have created PRISM WPF Application. It has two Modules
Wpf application, BootStapper, Shell
- Class Library, Contains *.resx files.
Here, i have created UserControl.xaml in WPF application and loaded *.resx file like below,
xmlns:ResxFile="clr-namespace:Books.Resources.English;assembly=Books.Resources"
<cb:BaseView.Resources>
<ResxFile:ScreenFieldNames x:Key="ScreenFieldNames"/>
</cb:BaseView.Resources>
<TextBlock Text="{Binding AddField, Source={StaticResource ScreenFieldNames}, FallbackValue='Add Field'}" Grid.Row="1" Grid.Column="2"/>
But i am getting following error
An exception of type 'System.Windows.Markup.XamlParseException' occurred in PresentationFramework.dll but was not handled in user code
Additional information: 'Provide value on 'System.Windows.StaticResourceExtension' threw an exception.' Line number '62' and line position '20'.
Please help me on this