I was going to ask the same question. Unfortunately, what you described is pretty close to what I could come up with. Theoretically, it seems that you can put them in the \ generic.xaml library file in the library, but I could not do this work - maybe I'm just doing something unscrupulous. The best I could do is just a slightly shorter version of what you are doing, namely, to leave the MergedDictionaries syntax:
<UserControl.Resources> <commonui:CommonStringsPublic x:Key="commonStrings" /> <ResourceDictionary Source="/Alanta.Client.UI.Common;component/CommonResources.xaml" x:Key="commonResources" /> </UserControl.Resources>
I would like someone to point me to a better solution :-).
Ken smith
source share