Does anyone know how to upgrade a project to RC1?

5 posts, 0 answers
  1. Gerry
    Gerry avatar
    33 posts
    Member since:
    May 2017

    Posted 09 Mar 2018 Link to this post

    Since the Telerik NuGet package server does not show RC1, how are we supposed to upgrade existing projects to use RC1? Manually add all the references?

    I ran the "Progress Control Panel" and all it did was add files in my program file(s) folders (including example code that crashes).


  2. Gerry
    Gerry avatar
    33 posts
    Member since:
    May 2017

    Posted 09 Mar 2018 in reply to Gerry Link to this post

    I manually added the references, now get


    Unhandled Exception:

    System.Reflection.ReflectionTypeLoadException: Exception of type 'System.Reflection.ReflectionTypeLoadException' was thrown. occurred

    on the call 



  3. Gerry
    Gerry avatar
    33 posts
    Member since:
    May 2017

    Posted 09 Mar 2018 Link to this post

    turns out that TelerikForms.Init() call is no longer needed

    So after 4 hours of messing with manual references, deleting bin/obj folders, rebuilding, adding memory to the emulator, adding disk space to the emulator, exiting and restarting Visual Studio, etc. (!) finally got it to not crash. Argh.

  4. Lance | Manager Technical Support
    Lance | Manager Technical Support avatar
    1168 posts

    Posted 12 Mar 2018 Link to this post

    Hello Gerry,

    I'm not sure which version you're referring to for RC1, did you mean SP1? The specific version is 2018.1.221 (aka "2018 R1 Service Pack 1")

    The version number works like this;

    - The 1st number is the year (2018)
    - The 2nd number is the Release (1)
    - The 3rd number is the date it was released (221 means Feb 21st)

    Improvements since R2 2017

    Now to your question, it appears you were using a pretty old version as you still have the renderers and Init() calls. Please read this article we have about the important changes that we made in R2 2017

    Along with no longer needing to manually call TelerikForms.Init, you no longer need to define the renderers. I recommend going through each target platform and removing and renderer attributes that code as well as any other TelerikForms.Init() instances.

    Additionally, we made finding the correct assemblies much easier, all of the required assemblies for each platform are in a single folder:

    Since you're coming from a version that's more than a year old, I recommend just removing all of your current references and just re-adding them from the correct folders, or just use the NuGet package instead.


    As to why you're not seeing the NuGet packages, this may be a credentials issue or you don't have Telerik Package Source selected. Here's a screenshot of what I'm seeing right now:


    Lastly, make sure you've also updated the SkiaSharp dependencies. If you're using the Telerik NuGet package, this will happen for you. Otherwise, update all 3 SkiaSharp packages to 1.59.1 or later.

    Lance | Tech Support Engineer, Sr.
    Progress Telerik
    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
  5. Gerry
    Gerry avatar
    33 posts
    Member since:
    May 2017

    Posted 12 Mar 2018 in reply to Lance | Manager Technical Support Link to this post

    Thanks, I will check that out later.

    I thought it was "Release Candidate"... Yes it must be R1 in your case, not RC1.

Back to Top