ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> <ResourceDictionary.MergedDictionaries> <!--<ResourceDictionary Source="TreeView Resources/StdDataTemplates.xaml"/> <ResourceDictionary Source="TreeView Resources/StdTreeViewItemStyle.xaml"/>--> <ResourceDictionary Source="pack://application:,,,/GlobalResources;component/Themes/generic.xaml" /> </ResourceDictionary.MergedDictionaries> </ResourceDictionary>This is in the constructor of a class in an assembly referenced by the main assembly:
Style style = (Style)Application.Current.FindResource("StdTreeViewItemStyle");This works fine at runtime. At design time it doesn't find the resource when using the GlobalResources assemblies resources (but does work if I use the commented version - i.e. additional dictionaries in the main app).