Strange bug with Merged Dictionaries

Sep 26, 2009 at 11:28 AM

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,

                <ResourceDictionary Source="Styles.xaml"/>
 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.