New to Telerik UI for WinForms? Download free 30-day trial

How to Attach Telerik Source Code to Your Project


Sometimes our customers obtain errors that are not reproducible in a sample project. Due to the complexity of their project, connections to a local database etc., very often it is not possible for them to provide the exact application to the support engineers. Hence, it wouldn't be easy to determine what causes the unexpected behavior on their end.

The appropriate solution for investigating further the precise case is to download the Telerik source and attach it to the application that produces the error message. This would facilitate the investigation of the exact work flow of the project in this specific situation.


Please follow the steps described in the Download Product Files help article in order to download the product files especially the source code:

attach-telerik-source-code-to-your-project 001

Once you have the source code downloaded, let's continue with the following steps:

  1. Unzip the file in C:\sampleFolder.

As of R3 2022 the zip contains not only the .NET Framework projects of the Telerik source code, but .NETCore projects as well. Make sure that you don't mix projects of different target framework when building the source code.

  1. In order to attach the source code to your project, you need to check what Telerik reference you have in your application:

    attach-telerik-source-code-to-your-project 002

  2. Afterwards, it is necessary to add these Telerik projects from the source code that you have just downloaded to your application by right clicking over the solution >> Add >> Existing project:

    attach-telerik-source-code-to-your-project 003

    Navigate to the folder in which the extracted source code is located and select the necessary projects.

    attach-telerik-source-code-to-your-project 004

  3. Delete the existing Telerik references:

    attach-telerik-source-code-to-your-project 005

  4. Refer the added projects:

    attach-telerik-source-code-to-your-project 006

    attach-telerik-source-code-to-your-project 007

  5. Rebuild the project. Now, you are ready to start debugging.

See Also

In this article