You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: getting-started/licensing/installing-license-key.md
+42-22Lines changed: 42 additions & 22 deletions
Original file line number
Diff line number
Diff line change
@@ -8,55 +8,75 @@ published: True
8
8
position: 0
9
9
---
10
10
11
-
# Installing License Key
11
+
# Installing Your License Key
12
12
13
-
Starting with the 2025 Q1 release, the UI components from the WPF library require activation through a license key (trial or commercial). This article describes how to download your personal license key and use it to activate the WPF UI components.
13
+
Starting with the 2025 Q1 release, the UI components from the WPF library require activation through a license key (trial or commercial). This article describes how to download your personal license key and use it to activate the WPF UI components. An invalid license results in [errors and warnings]({%slug license-activation-errors-and-warnings%}) during build and run-time indicators such as watermarks and banners.
14
14
15
-
An invalid license results in [errors and warnings]({%slug license-activation-errors-and-warnings%}) during build and run-time indicators such as watermarks and banners.
15
+
To download a license key for Telerik UI for WPF, you must have either a developer or trial license. If you are new to Telerik UI for WPF, sign up for a [free trial](https://www.telerik.com/try/ui-for-wpf) first, and then follow the steps below.
16
16
17
-
## Downloading the License Key
17
+
Depending on your development environment and preferences, you can install your license key in either of the following ways:
18
18
19
-
To download a license key for Telerik UI for WPF, you must have either a developer or trial license. If you are new to Telerik UI for WPF, sign up for a [free trial](https://www.telerik.com/try/ui-for-wpf) first, and then follow the steps below.
19
+
*[*Automatic installation*](#automatic-license-key-installation) for projects with NuGet references—suitable for developers using Telerik productivity tools like the Telerik extensions for Visual Studio and the Progress Control Panel.
20
+
*[*Manual installation*](#manual-license-key-installation) for projects with NuGet references—suitable for trial users and developers who prefer to manage their projects and Telerik product versions manually.
21
+
*[*Manual installation for projects using assembly references (no NuGet packages)*](#adding-a-license-to-projects-using-telerik-assembly-references-no-nuget-packages)—suitable for developers who cannot use NuGet references in their projects and use the Telerik DLLs instead.
20
22
21
-
1. Go to the [License Keys](https://www.telerik.com/account/your-licenses/license-keys) page in your Telerik account.
23
+
## Automatic License Key Installation
22
24
23
-
1. Click the __Download License Key__ button.
24
-
25
-

25
+
Telerik provides tools that automatically provision your license key. These tools include the [Telerik UI for WPF Visual Studio extensions]({%slug radcontrols-for-wpf-vs-extensions-overview-wpf%}) and the [Progress Control Panel](https://docs.telerik.com/controlpanel/introduction).
26
+
27
+
### Installing a License Key with the VS Extensions
28
+
29
+
To install your license key by using the [Telerik UI for WPF Visual Studio extensions]({%slug radcontrols-for-wpf-vs-extensions-overview-wpf%}):
30
+
31
+
1. Open Visual Studio.
32
+
1. Go to **Extensions** > **Telerik** > **Licensing** > **Download Key**.
33
+
34
+

26
35
27
-
> The [Progress Control Panel](https://www.telerik.com/download-trial-file/v2/control-panel) and the [Visual Studio Extensions]({%slug radcontrols-for-wpf-vs-extensions-overview-wpf%}) will automatically download and store your license key in the `%appdata%\Telerik` directory. This makes it available for all projects developed on the local machine.
36
+
The Visual Studio extension puts the file in your home directory (`%appdata%\Telerik`), which activates the WPF components.
28
37
29
-
##Activating the UI for WPF Components
38
+
### Installing a License Key with the Progress Control Panel
30
39
31
-
To activate the UI for WPF components:
40
+
To install your Telerik License Key by using the [Progress Control Panel](https://docs.telerik.com/controlpanel/introduction), start the application. It automatically downloads your license key file to your home directory (`%appdata%\Telerik`), which activates the WPF components.
32
41
33
-
* Copy the [downloaded](#downloading-the-license-key)`telerik-license.txt` license key file to your home directory (`%appdata%\Telerik`). This makes it available for all projects developed on the local machine.
42
+
## Manual License Key Installation
34
43
35
-
* Alternatively, copy the `telerik-license.txt` license key file to the root folder of your project. This makes the license key available only to this project. Do not commit the file to source control as this is your personal license key.
44
+
To manually download and install a license key for Telerik UI for WPF:
45
+
46
+
1. Go to the [License Keys](https://www.telerik.com/account/your-licenses/license-keys) page in your Telerik account.
47
+
48
+
1. Click the __Download License Key__ button.
49
+
50
+

51
+
52
+
1. Copy the downloaded `telerik-license.txt` license key file to your home directory (`%appdata%\Telerik`). This makes it available for all projects developed on the local machine.
53
+
54
+
Alternatively, copy the `telerik-license.txt` license key file to the root folder of your project. This makes the license key available only to this project. Do not commit the file to source control as this is your personal license key.
36
55
37
56
When you build the project, the `Telerik.Licensing` NuGet package automatically locates the license file and uses it to activate the product. If your project doesn’t use NuGet packages, see [Adding a License Key to Projects without NuGet References](#adding-a-license-key-to-projects-without-nuget-references).
38
57
39
-
## Adding a License Key to Projects without NuGet References
58
+
## Adding a License to Projects Using Telerik Assembly References (no NuGet packages)
40
59
41
60
Telerik strongly recommends the use of NuGet packages whenever possible. Only include the license key as a code snippet when NuGet packages are not an option.
42
61
43
-
If you cannot use NuGet packages in your project, add the license as a code snippet:
62
+
If you add the Telerik components to your project by referencing the Telerik assemblies, you must add the license to the project as a code snippet:
44
63
45
64
1. Go to the [License Keys](https://www.telerik.com/account/your-licenses/license-keys) page in your Telerik account.
46
65
47
-
1. On the Progress® Telerik® UI for WPF row, click the __View key__ link in the __SCRIPT KEY__ column.
66
+
1. On the Progress® Telerik® UI for WPF row, click the __View key__ link in the __SCRIPT KEY__ column.
48
67
49
-
1. Copy the C# code snippet into a new file, for example, `TelerikLicense.cs`.
68
+
1. Copy the C# code snippet into a new file, for example, `TelerikLicense.cs`.
50
69
51
-
1. Add the `TelerikLicense.cs` file to your project.
70
+
1. Add the `TelerikLicense.cs` file to your project.
52
71
53
-
Do not publish the license key code snippet in publicly accessible repositories. This is your personal license key.
72
+
>Do not publish the license key code snippet in publicly accessible repositories. This is your personal license key.
54
73
55
74
## Updating Your License Key
56
75
57
-
Whenever you purchase a new Telerik UI for WPF license or renew an existing one, always [download a new license key](#downloading-the-license-key). The new license key includes information about all previous license purchases. This process is referred to as a license key update. Once you have the new license key, use it to [activate the components](#activating-the-ui-for-wpf-components).
76
+
Whenever you purchase a new Telerik UI for WPF license or renew an existing one, always download and install a new license key by using the [automatic](#automatic-license-key-installation) or the [manual](#manual-license-key-installation) approach. The new license key includes information about all previous license purchases. This process is referred to as a license key update.
77
+
78
+
## See Also
58
79
59
-
## See Also
60
80
*[License Activation Errors and Warnings]({%slug license-activation-errors-and-warnings%})
61
81
*[No License Found - Troubleshooting]({%slug kb-licensing-no-license-found-message%})
62
82
*[Adding the License Key to CI Services]({%slug installing-license-to-ci-services%})
0 commit comments