I upgraded to 2012.2.607.40 today and rebuilt my project (which built successfully before the upgrade) and received three instances of the following error:
error MC3064: Only public or internal classes can be used within markup. 'Style' type is not public or internal.
Below is the xaml that caused the errors.
<telerik:GridViewCheckBoxColumn.HeaderCellStyle> <Style TargetType="{x:Type telerik:GridViewHeaderCell}"> <Style.Setters> <Setter Property="Template"> <Setter.Value> <ControlTemplate TargetType="{x:Type telerik:GridViewHeaderCell}"> <telerik:GridViewHeaderCell FilteringUIVisibility="Collapsed"> <StackPanel HorizontalAlignment="Center" Margin="5" > <ContentPresenter HorizontalAlignment="Center" VerticalAlignment="Center"/> <CheckBox x:Name="CheckBoxHeaderTemplate" HorizontalAlignment="Center" Margin="0,5,0,0" Checked="CheckBoxHeader_Checked" Unchecked="CheckBoxHeader_Checked"/> </StackPanel> </telerik:GridViewHeaderCell> </ControlTemplate> </Setter.Value> </Setter> </Style.Setters> </Style></telerik:GridViewCheckBoxColumn.HeaderCellStyle> <telerik:GridViewDataColumn.HeaderCellStyle> <Style TargetType="{x:Type telerik:GridViewHeaderCell}"> <Style.Setters> <Setter Property="Template"> <Setter.Value> <ControlTemplate TargetType="{x:Type telerik:GridViewHeaderCell}"> <ContentPresenter HorizontalAlignment="Stretch"/> </ControlTemplate> </Setter.Value> </Setter> </Style.Setters> </Style></telerik:GridViewDataColumn.HeaderCellStyle><telerik:GridViewCheckBoxColumn.CellStyle> <Style TargetType="telerik:GridViewCell"> <Setter Property="HorizontalContentAlignment" Value="Center" /> </Style></telerik:GridViewCheckBoxColumn.CellStyle>Any help would be greatly appreciated.
Thanks in advance,
Steve
