I'm trying to build 2013 Q1 (0403) controls from source code, but I get more than 100 errors of type:
HeaderedItemsControl\MetadataRegistration.cs(6,53): error CS0234: The type or
namespace name 'Controls' does not exist in the namespace 'Silverlight::System
.Windows' (are you missing an assembly reference?) [C:\tmp\RadControls_for_Silv
The reason, we are building controls, is Yours ParentOfTypeExtension method:
private static DependencyObject GetParent(this DependencyObject element)
The problem, I reported some time ago, has been refused to fix.
The problem is in a call to method:
VisualTreeHelper.GetParent(element) with passing DependencyObject as parameter.
As stated here:
so it's recommended to make a check of passed object type before calling VisualTreeHelper.GetParent method.
The problem occurs in some specific situations, when for example Hyperlink button has focus, and some focus changes between e.g. RadComboBox and RadGridView occurs.
Please consider fixing this bug, or provide some instruction for building those controls.
Doing as the instructions says and running Build_SL5_Xamless.bat finishes up with errors mentioned at begging.