Skip to content

Commit b997263

Browse files
Merge pull request #3061 from telerik/emphasize-auto-license-file-download
Emphasize auto license file download
2 parents 1e1cab2 + 1ec35f1 commit b997263

File tree

2 files changed

+42
-22
lines changed

2 files changed

+42
-22
lines changed
Loading

getting-started/licensing/installing-license-key.md

Lines changed: 42 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -8,55 +8,75 @@ published: True
88
position: 0
99
---
1010

11-
# Installing License Key
11+
# Installing Your License Key
1212

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

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

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:
1818

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

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
2224

23-
1. Click the __Download License Key__ button.
24-
25-
![Picture showing the License Keys page](images/installing-license-key-0.png)
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+
![Download a license key file in the VS extensions for WPF](images/vsx-download-license-key-file.png)
2635

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

29-
## Activating the UI for WPF Components
38+
### Installing a License Key with the Progress Control Panel
3039

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

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
3443

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+
![Picture showing the License Keys page](images/installing-license-key-0.png)
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.
3655

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

39-
## Adding a License Key to Projects without NuGet References
58+
## Adding a License to Projects Using Telerik Assembly References (no NuGet packages)
4059

4160
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.
4261

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:
4463

4564
1. Go to the [License Keys](https://www.telerik.com/account/your-licenses/license-keys) page in your Telerik account.
4665

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

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`.
5069

51-
1. Add the `TelerikLicense.cs` file to your project.
70+
1. Add the `TelerikLicense.cs` file to your project.
5271

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.
5473
5574
## Updating Your License Key
5675

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
5879

59-
## See Also
6080
* [License Activation Errors and Warnings]({%slug license-activation-errors-and-warnings%})
6181
* [No License Found - Troubleshooting]({%slug kb-licensing-no-license-found-message%})
6282
* [Adding the License Key to CI Services]({%slug installing-license-to-ci-services%})

0 commit comments

Comments
 (0)