Each new Kendo UI release might include changes that affect the public Kendo UI API.
In such cases, you need to avoid possible issues by upgrading your application to the latest Telerik release. To achieve this, use the Telerik Upgrade API Analyzer. The Upgrade API Analyzer aims at making the upgrade process easier by both comparing the versions and determining the problematic areas. You can also use the Upgrade API Analyzer for upgrading desktop applications such as WPF, WinForms, and Silverlight.
The Upgrade API Analyzer supports Telerik UI for ASP.NET MVC releases starting from Q2 2013 SP1 (2013.2.918).
While it upgrades the Telerik controls to a recent version, the Upgrade API Analyzer analyzes the code of your project. As a result, it provides a list of the differences between the currently used release and the release you are planning to upgrade your application to such as obsolete, removed, or modified methods and properties.
The tool also points out the exact piece of code that is affected by a certain change. In the cases of an obsolete method or property, the tool provides suggestions for you to modify that code.
Currently, Telerik Upgrade API Analyzer checks only the C# code of the applications.
Telerik Upgrade API Analyzer is a click-once application. To download the installation, refer to its setup page.
The tool relies on Microsoft .NET Framework 4.5.2. If not installed on your machine, the setup of the tool would try to install it automatically. In case of the following error "Unable to install or run the application. The application requires that assembly System.Threading.Tasks.Dataflow Version 184.108.40.206 be installed in the Global Assembly Cache (GAC) first." install Microsoft Build Tools 2015 manually to resolve the error.
- Run the Upgrade API Analyzer. As a result, the tool opens the following screen:
- On the screen, select the platform.
- Select the current version of the Telerik assemblies you are using.
- Select the version to upgrade to. Because the three combo-boxes are populated on the fly upon your selection, choose the values consecutively.
- Open the solution you are planning to upgrade.
Alternatively, you can also run the Upgrade API Analyzer from the Upgrade Project Wizard by clicking the Compatibility button as demonstrated on Figure 2. As a result, the wizard provides the Technology, Your Version, and Version to Upgrade parameters. When you start the Upgrade API Analyzer directly through the Compatibility button without installing the tool first, the installation starts automatically. If the .NET Framework 4.5.2 is not present on your machine, the application prompts you to install it manually at the end of the installation.
After the setup of the tool is ready, the Upgrade API Analyzer starts analyzing the code.
The tool lists all the changes that are found between the two versions. To present the results from the comparison, the it uses the RadGridView for WPF, which provides options for data handling such as sorting, filtering, and resizing columns.
For each change, the grid presents the following information:
Difference—Teh possible values are Obsolete, Deleted, or Modified. By default, the modified changes are not displayed because they indicate an internal update in the method or class which generally does not affect its function and does not require you to act. However, the modified changes become available when you update the filter of the Difference column.
![Displaying all found changes including the modifications](../../getting-started-mvc/vs-integration/images/upgrade-api-analyzer_3.png)
Kind—The possible values are Type, Property, Method, and Field.
- Node—The name of the Type, Property, Method, or Field value.
- Assembly—The assembly in which the change is found.
- Message—Renders a message that instructs you what to do next. The message provides additional information on the necessary action regarding the particular change to make the upgrade flawless.
- Project—The project where the change resides.
- Source—The file in the project where the change is found.
- Line—The exact line in the source file.
- Character—The character in the previously set line.
Additionally, the Upgrade API Analyzer allows you to save the gathered information through the Export button that is located in the upper right corner. The data is arranged and exported to an HTML document. The exported information includes the currently visible (filtered) data in the grid.
To provide your feedback on the Upgrade API Analyzer, either send your comments:
- Through the Feedback link inside the Upgrade API Analyzer, or
- Directly to UpgradeApiAnalyzer@telerik.com.
For more information on possible issues and their solutions, refer to the section on the frequently asked questions in the API Analyzer Helps Upgrading Telerik Projects blog post.