Setting Up Your Telerik UI for .NET MAUI License Key
Starting with the Q1 2025 release, the UI components from the Telerik UI for .NET MAUI 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 Telerik UI for .NET MAUI components.
An invalid license results in errors and warnings during build and run-time indicators such as watermarks and banners.
Downloading the License Key
To download a license key for Telerik UI for .NET MAUI, you must have either a developer license or a trial license. If you are new to Telerik UI for .NET MAUI, sign up for a free trial first, and then follow the steps below.
Go to the License Keys page in your Telerik account.
-
Click the Download License Key button.
The Progress Control Panel, automated installers, and the Visual Studio Extensions will automatically download and store your license key in your home directory. This makes it available for all projects that you develop on your local machine.
Activating the Telerik UI for .NET MAUI Components
To activate the Telerik UI for .NET MAUI controls:
-
Copy the downloaded
telerik-license.txt
license key file to your home directory. This makes the license key available to all projects that you develop on your computer:- For Windows:
%AppData%\Roaming\Telerik\telerik-license.txt
. An example of a full path to thetelerik-license.txt
file location:C:\Users\your-username\AppData\Roaming\Telerik\telerik-license.txt
- For Mac/Linux:
~/.telerik/telerik-license.txt
. If.telerik
folder does not exist, create such, and paste thetelerik-license.txt
file in it.
- For Windows:
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.
When you build the project, the Telerik.Licensing
NuGet package automatically locates the license file and uses it to activate the MAUI controls.
If your project doesn’t use NuGet packages, see the next document section.
Installing a License Key in Projects without NuGet References
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.
If you cannot use NuGet packages in your project, add the license as a code snippet:
Go to the License Keys page in your Telerik account.
-
On the Telerik UI for .NET MAUI row, click the View key link in the SCRIPT KEY column.
Copy the C# code snippet into a new file, for example,
TelerikLicense.cs
.Add the
TelerikLicense.cs
file to your project.
Do not publish the license key code snippet in publicly accessible repositories. This is your personal license key.
Updating Your License Key
Whenever you purchase a new Telerik UI for .NET MAUI license or renew an existing one, always download a new 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 Telerik UI for .NET MAUI.