This is a migrated thread and some comments may be shown as answers.

StaticResource in Silverlight

1 Answer 25 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Top achievements
Rank 1
Heiko asked on 26 Feb 2013, 09:59 AM

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:

            <ResourceDictionary Source="/Theme;component/Styles/MyTheme.xaml" />
<telerik:RadWatermarkTextBox x:Name="customerBox"
                     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?


1 Answer, 1 is accepted

Sort by
Telerik team
answered on 28 Feb 2013, 01:08 PM
Hi Neils,

 Thanks for the feedback.
We are aware of this issue and we have it logged for fixing.
Meanwhile, I would suggest ignoring these warnings as a temporary solution.
Thanks and sorry for the inconvenience.

the Telerik team
Share what you think about JustCode with us, so we can help you even better! You can use the built-in feedback tool inside JustCode, our forum, or our JustCode feedback portal.
General Discussions
Asked by
Top achievements
Rank 1
Answers by
Telerik team
Share this question