I work on a large Silverlight project. We split the app up into many XAPs and DLLs in order to download the bare minimum the user needs at the time.
For simplicity, if I want to share a brush across multiple xaps and libraries what is the right tool for this job?
The only reasonable tool I'm aware of is MergedDictionaries. However if I use MergedDictionaries I loose "View in Blend" support in VS2010, and instead have to open my entire SLN in blend so that blend can resolve cross library URIs (example: Source="/Library;component/Brushes.xaml").
On top of that I've come across the following links:
These talk about performance problems with MergedDictionaries and the forums link solution is to reference only once from the App.xaml. If I do this I loose designer support in both blend and VS2010. Firstly, do these performance problems still exist?
Secondly, this all feels like a hack, which makes me feel like I'm using the wrong tool for the job. Is there a better one out there?
Summary:
- If I want to share a brush across multiple xaps and libraries what is the right tool for this job?
- Do performance issues still exist for MergedDictionaries?
- Is there a solution that doesn't feel like a hack?
Thanks for your time,
Trey