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

Upgrade from ASP.NET 2.0 to 4.5

1 Answer 143 Views
Installer and VS Extensions
This is a migrated thread and some comments may be shown as answers.
Up
Top achievements
Rank 1
Up asked on 19 Jun 2013, 05:04 PM
I have an old project built with ASP.NET 2.0. It is a Website project and the upgrade wizard menu is not available.
When using "Convert to Telerik site" it is not possible to select the current project to be upgraded, there is no entry and manually browsing to the project's root directory is not accepted.

I tried this tutorial: http://www.telerik.com/support/kb/aspnet-ajax/general/updating-radcontrols-for-asp-net-to-another-version-or-license.aspx
However in step 5 ("From the newly downloaded and unzipped files, copy the new DLL ...") it becomes confusing. In my project's bin folder are many files like RadEditorNet2.dll and so on, but in the downloaded hotfix in the folder bin45 I can just find 3 files (Telerik.Web.UI etc.), that are not present in the old project's folder, so I can't replace anything.

Furthermore I copied these 3 files in my project's bin folder and I added them as reference. After setting the target framework to 4.5 it compiled successfully. Now I think, that I have to change all old tags like <prefix:RadEditor2Net ...> to <prefix:RadEditor>.

Is this the right way or do you know any other solution?

1 Answer, 1 is accepted

Sort by
0
Biliana Ficheva
Telerik team
answered on 20 Jun 2013, 12:44 PM
Hello,

The upgrade wizard is available only when there are references to Telerik assemblies in a project.
If there are no such references Convert Wizard is available instead of Upgrade wizard.

On the other hand the Convert Wizard is empty in your case because your web site is targeting .NET 2.0 but we do not support it any more.

So the correct approach when you are upgrading from one target framework to another is the following:
1. Change the target framework of the project/web site.
2. Start Upgrade Wizard if you already have Telerik references or start the Convert Wizard if you don't have Telerik references but you want to add them.
3. Also using the Upgrade/Convert wizards you could download the latest version of the assemblies using the Download button.

Our wizard will upgrade or add not only the right references to the project but they will also make all needed changes to the web.config files.

Here you could find some documentation for the VSExtensions: http://www.telerik.com/help/aspnet-ajax/introduction-vsx-overview.html.

Let me know if you need any further information.

Regards,
Biliana Ficheva
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
Tags
Installer and VS Extensions
Asked by
Up
Top achievements
Rank 1
Answers by
Biliana Ficheva
Telerik team
Share this question
or