Missing using in .g.i.cs file

3 posts, 0 answers
  1. Andrea Rapuzzi
    Andrea Rapuzzi avatar
    28 posts
    Member since:
    Apr 2010

    Posted 22 Oct 2013 Link to this post

    Hi,
    I've installed the last build of Telerik Controls for Silverlight (2013.3.1016.1050) and now when I build my solution I get the error:

    The type or namespace name 'RadRichTextBox' could not be found (are you missing a using directive or an assembly reference?)

     in my GenericHtmlEditor.g.i.cs file.

    In effect this file contains the following:

    ...
     
            internal Telerik.Windows.Controls.RadWindow radEditor;
             
            internal System.Windows.Controls.Grid LayoutRoot;
             
            internal Telerik.Windows.Documents.FormatProviders.Html.HtmlDataProvider htmlDataProvider;
             
            internal RadRichTextBoxRibbonUI radRichTextBoxRibbonUI;
             
            internal Telerik.Windows.Controls.RadRibbonTab HomeTab;
             
            internal RadRichTextBox editor;
             
            internal Telerik.Windows.Controls.RadButton confirm;
             
            internal Telerik.Windows.Controls.RadButton cancel;
     
    ...


    I tried to perform both a solution clean command and a manual removal of the project's bin and obj folder. Unfortunately, when I rebuild, the same error is always shown.

    Have you any suggestion?

  2. Petya
    Admin
    Petya avatar
    975 posts

    Posted 23 Oct 2013 Link to this post

    Hello,

    Please note that as of Q3 2013 you need to reference two additional assemblies in your project in order to use RadRichTextBox - Telerik.Windows.Documents.Flow.dll and Telerik.Windows.Documents.Core.dll. I suggest you refer to this help article where the backward compatibility between versions is listed.

    If this does not resolve the issue, could you please verify all references in your project point to the same version of RadControls for Silverlight? In case this is not the cause of the problem either we would appreciate it if you open a support ticket and send us your project.

    I hope this helps! Let me know how it goes.

    Regards,
    Petya
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
  3. DevCraft banner
  4. Andrea Rapuzzi
    Andrea Rapuzzi avatar
    28 posts
    Member since:
    Apr 2010

    Posted 24 Oct 2013 Link to this post

    Petya,
    Adding Telerik.Windows.Documents.Flow.dll and Telerik.Windows.Documents.Core.dll did the trick!

    Thank you very much!
Back to Top