I have never been able to get this format of reference a Resource Dictionary to work. What am I missing.
Scenario:
Creating and assembly with some usercontrols i
Can't reproduce your problem. All these variations work fine:
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="pack://application:,,,/Themes/ColorThemes.xaml"/>
<ResourceDictionary Source="/Themes/ColorThemes.xaml"/>
<ResourceDictionary Source="../../Themes/ColorThemes.xaml"/>
</ResourceDictionary.MergedDictionaries>
Note that pack://application:,,,
is optional and /
refers to the root of the current assembly.
Please provide complete minimal example which reproduces your problem.
try:
pack://application:,,,/YOURNAMESPACEHERE/ColorThemes.xaml
E.g.
pack://application:,,,/Themes/ColorThemes.xaml