Error loading iOS.DataFormRenderer

2 posts, 0 answers
  1. Joe
    Joe avatar
    1 posts
    Member since:
    Sep 2015

    Posted 20 Nov 2015 Link to this post

    I have a project that uses a PCL library along with iOS and Android apps. I had been using just the RadListView, but now I added a RadDataForm to the project. I have followed the directions for adding the renderer (same way I did for RadListView) but I get the following error when global::Xamarin.Forms.Forms.Init (); is called: 

    Could not load type Telerik.XamarinForms.InputRenderer.iOS.DataFormRenderer, Telerik.XamarinForms.InputRenderer.iOS, Version=2015.3.1028.151, Culture=neutral, PublicKeyToken=null while decoding custom attribute

     I have the following two attributes in my AppDelegate.cs file, outside the using clause:

    [assembly:Xamarin.Forms.ExportRenderer(typeof(Telerik.XamarinForms.DataControls.RadListView), typeof(Telerik.XamarinForms.DataControlsRenderer.iOS.ListViewRenderer))]
    [assembly:Xamarin.Forms.ExportRenderer(typeof(Telerik.XamarinForms.Input.RadDataForm), typeof(Telerik.XamarinForms.InputRenderer.iOS.DataFormRenderer))]

    And the following call in the FinishedLaunching method after global::Xamarin.Forms.Forms.Init ();

    Telerik.XamarinForms.Common.iOS.TelerikForms.Init ();

  2. Rosy Topchiyska
    Rosy Topchiyska avatar
    547 posts

    Posted 23 Nov 2015 Link to this post

    Hi Joe,

    Thank you for contacting us.

    We have not observed such issue on our side. Please, take a look at this article from our online documentation and make sure that you have added all required Telerik assemblies.

    The next step is to try reproducing the issue in a new project. If you observe the same behavior, you can open a support ticket where you can attach the test project and we will further investigate the problem. If you can not reproduce the issue, you may try to remove all Xamarin related references and packages from the project and delete all obj and bin folders, then add the references again and try to build.

    Please, also note that the latest supported version of Xamarin Forms is 1.5. The next internal build that will be available by the end of the week will support Xamarin Forms 2.0.

    I hope this helps. Please, let us know if you have any other questions.

    Rosy Topchiyska
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. DevCraft banner
Back to Top