When using 2012.2 725 .NET 4 NoXaml binaries and Implicit themes, Telerik.Windows.Controls.RibbonView.xaml throws these two errors:
Resource '/Telerik.Windows.Controls.RibbonView;component/HelpIcon.png' was not found. Line: 2202.
Resource '/Telerik.Windows.Controls.RibbonView;component/RibbonGalleryCollapsedIcon.png' was not found. Line: 2800.
Telerik.Windows.Controls.RichTextBoxUI.xaml also throws errors regarding these two files:
Resource '/Telerik.Windows.Controls.RibbonView;component/HelpIcon.png' was not found. Line: 5499.
Resource '/Telerik.Windows.Controls.RibbonView;component/RibbonGalleryCollapsedIcon.png' was not found. Line: 6097
Here is my RibbonView XAML:
What is the root cause of this problem and how do I resolve the problem?
Note: When I remove the HelpButtonImageSource attribute the error is still there, I just used it because I do not like the default icon which is apparently embedded into the assembly.
Note: I opened Telerik.Windows.Controls.RibbonView.dll in Just Decompile and verified that these two images are embedded and I was able to save both to disk...
Resource '/Telerik.Windows.Controls.RibbonView;component/HelpIcon.png' was not found. Line: 2202.
Resource '/Telerik.Windows.Controls.RibbonView;component/RibbonGalleryCollapsedIcon.png' was not found. Line: 2800.
Telerik.Windows.Controls.RichTextBoxUI.xaml also throws errors regarding these two files:
Resource '/Telerik.Windows.Controls.RibbonView;component/HelpIcon.png' was not found. Line: 5499.
Resource '/Telerik.Windows.Controls.RibbonView;component/RibbonGalleryCollapsedIcon.png' was not found. Line: 6097
Here is my RibbonView XAML:
<Grid> <tr:RadRibbonView MinimizeButtonVisibility="Visible" HelpButtonVisibility="Visible" TitleBarVisibility="Collapsed" ApplicationButtonContent="File" HelpButtonImageSource="pack://application:,,,/Img/Ribbon/Help16.png"> <tr:RadRibbonView.QuickAccessToolBar> <tr:QuickAccessToolBar/> </tr:RadRibbonView.QuickAccessToolBar> <tr:RadRibbonTab Header="Home"> <tr:RadRibbonGroup Header="Clipboard"> <tr:RadRibbonSplitButton Text="Paste" LargeImage="pack://application:,,,/Img/Ribbon/Img32.png" Size="Large" tr:ScreenTip.Title="Paste(Ctrl+V)" tr:ScreenTip.Description="Paste the contents the Clipboard."> <tr:RadRibbonSplitButton.DropDownContent> <t:RadContextMenu BorderThickness="0"> <t:RadMenuItem Header="Paste" /> <t:RadMenuItem Header="Paste Form" /> </t:RadContextMenu> </tr:RadRibbonSplitButton.DropDownContent> </tr:RadRibbonSplitButton> </tr:RadRibbonGroup> </tr:RadRibbonTab> <tr:RadRibbonTab Header="View" /> </tr:RadRibbonView> </Grid>
App.xaml:<Application.Resources> <ResourceDictionary> <ResourceDictionary.MergedDictionaries> <ResourceDictionary Source="Resources/Themes/OfficeBlue/System.Windows.xaml"/> <ResourceDictionary Source="Resources/Themes/OfficeBlue/Telerik.Windows.Controls.Chart.xaml"/> <ResourceDictionary Source="Resources/Themes/OfficeBlue/Telerik.Windows.Controls.Data.xaml"/> <ResourceDictionary Source="Resources/Themes/OfficeBlue/Telerik.Windows.Controls.DataVisualization.xaml"/> <ResourceDictionary Source="Resources/Themes/OfficeBlue/Telerik.Windows.Controls.GridView.xaml"/> <ResourceDictionary Source="Resources/Themes/OfficeBlue/Telerik.Windows.Controls.Input.xaml"/> <ResourceDictionary Source="Resources/Themes/OfficeBlue/Telerik.Windows.Controls.Navigation.xaml"/> <ResourceDictionary Source="Resources/Themes/OfficeBlue/Telerik.Windows.Controls.RibbonView.xaml"/> <ResourceDictionary Source="Resources/Themes/OfficeBlue/Telerik.Windows.Controls.RichTextBoxUI.xaml"/> <ResourceDictionary Source="Resources/Themes/OfficeBlue/Telerik.Windows.Controls.xaml"/> <ResourceDictionary Source="Resources/Themes/OfficeBlue/Telerik.Windows.Documents.Proofing.xaml"/> <ResourceDictionary Source="Resources/Themes/OfficeBlue/Telerik.Windows.Documents.xaml"/> <ResourceDictionary> <vm:ViewModelLocator x:Key="Locator" /> </ResourceDictionary> </ResourceDictionary.MergedDictionaries> </ResourceDictionary> </Application.Resources>
What is the root cause of this problem and how do I resolve the problem?
Note: When I remove the HelpButtonImageSource attribute the error is still there, I just used it because I do not like the default icon which is apparently embedded into the assembly.
Note: I opened Telerik.Windows.Controls.RibbonView.dll in Just Decompile and verified that these two images are embedded and I was able to save both to disk...