I have a problem loading resources for UserControl from a reference assembly in Expression Blend
Here is the relevant code:
<UserControl.Resources> <ResourceDictionary> <ResourceDictionary.MergedDictionaries> <ResourceDictionary Source="pack://application:,,,/Referenced.Assembly;component/Resources/ResourceDictionary.xaml"/> </ResourceDictionary.MergedDictionaries> </ResourceDictionary> </UserControl.Resources>
I also tried this URI option:
<ResourceDictionary Source="/Referenced.Assembly;Component/Resources/ResourceDictionary.xaml"/>
In Visual Studio 2008 SP1 (both for code and for the designer) everything works fine, and the application uses the specified resources. When you download the solution and open the UserControl XAML file in Expression Blend 3, it says: βThe specified file was not foundβ (or, like me, I have a localized version of the .NET Framework), no other information, no exceptions arise when debugging the process Blend in Visual Studio.
Any ideas?
source share