Skip to content

Commit f7534da

Browse files
committed
addressed Yoan's review
1 parent 02f3c8d commit f7534da

File tree

2 files changed

+11
-8
lines changed

2 files changed

+11
-8
lines changed

distribution-and-licensing/license-key/setting-up-license-key.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@ To activating the Document Processing Libraries:
3838
```xml
3939
<PackageReference Include="Telerik.Licensing" Version="1.*" />
4040
```
41+
42+
>important The **Telerik.Licensing** verifies the DevSeat association at the time your classlib is built, and also provisions at runtime licenses in the Root app. When you have a setup such as **"Root app -> classlib -> Telerik UI"**, the Telerik UI will execute and verify the licensing for the classlib, but will not be applied transitively in the Root app. That's why you **need to add the Telerik.Licensing NuGet package reference to Root app manually**.
43+
4144
When you build the project, the _Telerik.Licensing_ NuGet package automatically locates the license file and uses it to activate the product.
4245

4346
>important 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).

knowledge-base/license-not-recognized-telerik-document-processing-libraries.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ type: troubleshooting
55
page_title: License Not Recognized in Telerik Document Processing Libraries
66
meta_title: License Not Recognized in Telerik Document Processing Libraries
77
slug: license-not-recognized-telerik-document-processing-libraries
8-
tags: telerik, document, processing, license, validation, runtime, issues, licensing diagnostics
8+
tags: telerik, document, processing, license, validation, runtime, issues, licensing, diagnostics
99
res_type: kb
1010
ticketid: 1690929
1111
---
@@ -26,25 +26,25 @@ This issue generally occurs due to incomplete license validation during runtime
2626

2727
## Solution
2828

29+
The **Telerik.Licensing** verifies the DevSeat association at the time your classlib is built, and also provisions at runtime licenses in the Root app. When you have a setup such as **"Root app -> classlib -> Telerik UI"**, the Telerik UI will execute and verify the licensing for the classlib, but will not be applied transitively in the Root app. That's why you **need to add the Telerik.Licensing NuGet package reference to Root app manually**.
30+
2931
To ensure proper license validation and eliminate trial messages, follow the steps below:
3032

31-
1. **License Key Placement**: Ensure the `telerik-license.txt` file is present in the root directory of all projects referencing Telerik Document Processing Libraries, including shared libraries or class libraries.
33+
* **Direct Package References**: Add references to the **Telerik.Licensing** package directly in the Root project. This resolves transitive dependency limitations.
3234

33-
2. **Explicit License Registration**: Add a call to `TelerikLicensing.Register()` early in your application lifecycle. For Blazor WASM applications, include this call in the `Program.cs` file. This approach validates the license explicitly.
35+
* **Explicit License Registration**: Add a call to `TelerikLicensing.Register()` early in your application lifecycle. For Blazor WASM applications, include this call in the `Program.cs` file. This approach validates the license explicitly.
3436

35-
3. **Verify Assemblies**: Ensure **no trial** versions of Telerik assemblies are referenced in any project. Replace [trial assemblies]({%slug upgrade-trial-to-licensed-version%}) with licensed ones, if such even exist.
37+
* **Verify Assemblies**: Ensure **no trial** versions of Telerik assemblies are referenced in any project. Replace [trial assemblies]({%slug upgrade-trial-to-licensed-version%}) with licensed ones, if such even exist.
3638

37-
4. **Enable Diagnostics**: Add the following property to your `.csproj` file to enable detailed licensing diagnostics during build and runtime:
39+
* **Enable Diagnostics**: Add the following property to your `.csproj` file to enable detailed licensing diagnostics during build and runtime:
3840
```xml
3941
<PropertyGroup>
4042
<TelerikLicensingVerbosity>diagnostic</TelerikLicensingVerbosity>
4143
</PropertyGroup>
4244
```
4345
Review the diagnostic output for clues about license validation issues.
4446

45-
5. **Direct Package References**: Add references to the Telerik Document Processing Libraries NuGet packages directly in the Blazor WASM project. This resolves transitive dependency limitations.
46-
47-
6. **Avoid Environment Variables**: Use only the `telerik-license.txt` file for license delivery instead of environment variables, which can cause issues due to length limitations.
47+
* **Avoid Environment Variables**: Use only the `telerik-license.txt` file for license delivery instead of environment variables, which can cause issues due to length limitations.
4848

4949
By following these steps, runtime validation issues should resolve, and the trial message will no longer appear in generated documents.
5050

0 commit comments

Comments
 (0)