I currently have a few different solutions for various different Silverlight front ends, one of which contains another Silverlight project dedicated to style resources. As you can imagine I want to break that out into its own solution and reference it from the GUI solutions. In WPF you would reference the common styles dll and use the pack syntax to load the xaml resource files, however in Silverlight that syntax is not supported and it cant find the xaml files which have been referenced in App.xaml as resource dictionaries. Has anyone managed to achieve this?
I currently have a few different solutions for various different Silverlight front ends, one
Share
Jeremy Likness wrote a great article on using a theme project. He also covers how to dynamically load themes. We used this technique in a couple of our Silverlight projects with great success.
I believe you need to merge your style solution as a merged dictionary in the App.xaml.
Best Practices for Themes in Modular Silverlight Applications