I have the following setup:
The main application loads XAP with the implementation of IPlugin. The plugin contains a "DisplayPanel" containing a reference control with other controls. The DisplayPanel here is just a container control for displaying a reference control.
This reference control from the assembly uses the style from the ResourceDictionary xaml in this assembly. At least what I want to have. The problem is that the reference control is causing an error:
Cannot find resource with name / key PlayerPanelGrad [Line: 1500 Position: 127]
I tried to get the style by referencing theResourceDictionary through a Merged Resource dictionary link:
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="TableControls;component/ControlsStyle.xaml"/>
</ResourceDictionary.MergedDictionaries>
</ResourceDictionary>
.
?