This is a migrated thread and some comments may be shown as answers.

Does anyone know how to upgrade a project to RC1?

4 Answers 55 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Gerry
Top achievements
Rank 1
Veteran
Gerry asked on 09 Mar 2018, 07:43 PM

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).

 

4 Answers, 1 is accepted

Sort by
0
Gerry
Top achievements
Rank 1
Veteran
answered on 09 Mar 2018, 09:07 PM

I manually added the references, now get

 

Unhandled Exception:

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

on the call 

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

 

0
Gerry
Top achievements
Rank 1
Veteran
answered on 09 Mar 2018, 10:05 PM

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.

0
Lance | Manager Technical Support
Telerik team
answered on 12 Mar 2018, 03:47 PM
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.


NuGet

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:



SkiaSharp

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.

Regards,
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
0
Gerry
Top achievements
Rank 1
Veteran
answered on 12 Mar 2018, 04:08 PM

Thanks, I will check that out later.

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

Tags
General Discussions
Asked by
Gerry
Top achievements
Rank 1
Veteran
Answers by
Gerry
Top achievements
Rank 1
Veteran
Lance | Manager Technical Support
Telerik team
Share this question
or