I have come across this issue recently and have a solution for it, but I don't love the solution. I am attempting to reference certain templates at the application level, I normally reference them in the app.xaml file. For example,
<Application.Resources><ResourceDictionary><ResourceDictionary.MergedDictionaries><ResourceDictionarySource="Styles.xaml"/></ResourceDictionary.MergedDictionaries></ResourceDictionary></Application.Resources>
my "Temporary Solution" a.k.a. Jury rig is to merge the dictionaries in the codebehind. I would prefer to avoid having to do this.
Any thoughts on why the above code is not working? Ideally, I would like to keep the styles in a folder named Assets.