This question is locked. New answers and comments are not allowed.
Hi!
My Silverlight project is split into many sub-projects. One of them includes all static resources like styles, icons etc. All other projects include this theme-project as a merged dictionary and use it for binding to static resources inside the theme project:
Naturally Visual Studio is complaining about not finding any of these static resources, but there is a little trick for that: adding a file called App.xaml to every sub-project which includes the same ResourceDictionary prevents the warnings.
But: JustCode seems not to know about this trick and gives a warning for every binding to the static resources in my theme project. R# does NOT complain, but I want to use JustCode in the future since we have a license for that.
Any idea how to handle all these warnings?
Regards
Neils
My Silverlight project is split into many sub-projects. One of them includes all static resources like styles, icons etc. All other projects include this theme-project as a merged dictionary and use it for binding to static resources inside the theme project:
<
telerik:RadWindow.Resources
>
<
ResourceDictionary
>
<
ResourceDictionary.MergedDictionaries
>
<
ResourceDictionary
Source
=
"/Theme;component/Styles/MyTheme.xaml"
/>
</
ResourceDictionary.MergedDictionaries
>
</
ResourceDictionary
>
</
telerik:RadWindow.Resources
>
...
<
telerik:RadWatermarkTextBox
x:Name
=
"customerBox"
BorderThickness
=
"1"
BorderBrush
=
"{StaticResource BlackBrush}"
/>
Naturally Visual Studio is complaining about not finding any of these static resources, but there is a little trick for that: adding a file called App.xaml to every sub-project which includes the same ResourceDictionary prevents the warnings.
But: JustCode seems not to know about this trick and gives a warning for every binding to the static resources in my theme project. R# does NOT complain, but I want to use JustCode in the future since we have a license for that.
Any idea how to handle all these warnings?
Regards
Neils