I'm trying to make a custom UserControl that contains a syncfusion richTextBox.
However, when I add it to my UC, I cannot compile, compiler says :
"The component 'Syncfusion.Windows.Tools.Controls.ImageResizer' does not have a resource identified by the URI '/Syncfusion.RichTextBoxAdv.WPF;component/implementation/imageresizer/imageresizer.xaml'".
It happens me sometimes, but I don't know how to fix it permanently ?
APArumuga Perumal S Syncfusion Team April 13, 2015 07:03 AM UTC
Thank you for your interest in Syncfusion products.
We are able to reproduce the mentioned issue with “resource not found” exception thrown sometimes on when RichTextBoxAdv control is defined using Xaml. On analyzing further on this problem, we found that the visual studio designer is not updated properly when changes made to assembly reference. The same issue reproduces with any user control. This is not an issue with RichTextBoxAdv control. We have also mentioned the MSDN forum reference related to the mentioned exception. Please do find the link from below.
APArumuga Perumal S Syncfusion Team April 14, 2015 01:58 PM UTC
Thank you for your update.
Regarding “4.5 must be compatible with 4.5.2 project”: Yes, 4.5 framework Syncfusion assemblies will work fine with 4.5.2 .Net framework applications.
Regarding “I don't really understand this error (and others)”: As we mentioned in our previous update, the mentioned issue occurs due to the visual studio designer not refreshing properly whenever you made changes to assembly reference. This is because when you made changes to assembly reference, previously referenced assembly referenced will be still in main memory and the visual studio designer cannot able to decide which assembly to choose. The mentioned exception will occur for any user control and it is an existingissue with visual studio. Also the mentioned issue is designer level exception only and it will not affect project compilation and execution. To resolve this, kindly unload and reload the project. Hence this is not an issue with RichTextBoxAdv control.
Please let us know if you have any other questions.