wpf - Pack URI syntax in User Control -


i have simple project files within same solution. getting weird issue when trying reference resources in user control specifically. same pack uri syntax works in mainwindow.xaml when used in user control giving error.

here files folder structure:

enter image description here

here mainwindow.xaml screenshot:

enter image description here

summaryview.xaml (usercontrol) screenshot:

enter image description here

try writing out name of assembly explicitly:

"pack://application:,,,/fibre_reporting;component/resources/brushes.xaml" 

Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -