Well, leaving aside the language (the problem anyway is not using one language or another, it is rather having the possibility to switch; my application provides 3 different languages; I get this exception when i use something else than english; however, I do not yet have resources for every languages, only english...is it a lead?), what could prevent a project Modules.A in my solution from accessing styles (i.e. resource dictionaries) specified in another project B?
Application.xaml, in project B (forget about Fluent here; I did use Actipro's stuff during the tests):
<ResourceDictionary Source="pack://application:,,,/Modules.A;component/Resources/ValidationErrorTemplateStyle.xaml" />
<ResourceDictionary Source="pack://application:,,,/B;component/Resources/ControlStyles.xaml" />
<ResourceDictionary Source="pack://application:,,,/Fluent;Component/Themes/Office2010/Silver.xaml" />
<ResourceDictionary Source="pack://application:,,,/Fluent;Component/Themes/Generic.xaml" />
<SolidColorBrush x:Key="grpBoxBorderBrush" Color="#FF3E87F0"/>
<SolidColorBrush x:Key="headerPropertiesBackgroundColor" Color="#FF01949B"/>
<SolidColorBrush x:Key="grpBoxBorderForeground" Color="Black"/>
In all of the View's code-behinds in project Modules.A, InitializeComponent (http://stackoverflow.com/questions/245825/what-does-initializecomponent-do-and-how-does-it-work-in-wpf) cannot find ValidationErrorTemplateStyle.xaml. But it can when I am NOT using Actipro's RibbonWindow. SO, if it is clearer for you now, could you please tell what is going on, or what am I doing wrong?
Thank you very much
[Modified 6 years ago]