Hi,
I am having the same problem. We have created global shared resources within our application and are using a ResourceDictionary.
< Application x:Class="Waters.Acqusition.IssConsole.App"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
StartupUri="HomePage.xaml">
< Application.Resources>
< ResourceDictionary>
< ResourceDictionary.MergedDictionaries>
< ResourceDictionary Source="WatersCommonBrushes.xaml" />
< ResourceDictionary Source="WatersCommonStyles.xaml" />
< ResourceDictionary Source="WatersCommonFonts.xaml" />
</ ResourceDictionary.MergedDictionaries>
</ ResourceDictionary>
</ Application.Resources>
</ Application>
When we open a XAML page in Cider that uses these resources, we get the error:
Error 1 Value 'WatersCommonBrushes.xaml' cannot be assigned to property 'Source'. C:\programs\IssConsole\IssConsoleGroup\IssConsole\App.xaml 9 31 Waters.Acquisition.IssConsole
All XAML is within the same csproj so it is not related to loading resources in a different dll.
Steve
|