|
| 1 | +--- |
| 2 | +title: Unable to find package Telerik.Licensing |
| 3 | +description: Learn how to handle Telerik.Licensing error after upgrade. |
| 4 | +type: troubleshooting |
| 5 | +page_title: Could Not Load File Or Assembly Telerik.Licensing.Runtime, Version 1.4.6.0 Runtime Error |
| 6 | +slug: dpl-package-update-failure-license |
| 7 | +tags: dpl, license, upgrade, fail, nuget, update, load, assembly |
| 8 | +res_type: kb |
| 9 | +ticketid: 1678555 |
| 10 | +--- |
| 11 | + |
| 12 | +## Environment |
| 13 | + |
| 14 | +| Version | Product | Author | |
| 15 | +| ---- | ---- | ---- | |
| 16 | +| Q1 2025| Telerik Document Processing|[Desislava Yordanova](https://www.telerik.com/blogs/author/desislava-yordanova)| |
| 17 | + |
| 18 | +## Problem |
| 19 | + |
| 20 | +After upgrading the Telerik Document Processing libraries to version [Q1 2025]({%slug release-notes-2025-1-205%}), the following error messages may occur: |
| 21 | + |
| 22 | +* **"The file or assembly cannot be loaded 'Telerik.Licensing.Runtime, Version=1.4.6.0, Culture=neutral, PublicKeyToken=token_here' or one of its dependencies. The system cannot find the specified file."** |
| 23 | + |
| 24 | +* **"NU1101: Unable to find package Telerik.Licensing. No packages exist with this id in source(s): Telerik nuget. PackageSourceMapping is enabled, the following source(s) were not considered: Microsoft Visual Studio Offline Packages, nuget.org."** |
| 25 | + |
| 26 | +## Solution |
| 27 | + |
| 28 | +This may happen if you upgrade to [Q1 2025]({%slug release-notes-2025-1-205%}) from an older version. With [Q1 2025]({%slug release-notes-2025-1-205%}) a new licensing mechanism was introduced, which requires a reference the Telerik.Licensing.Runtime dll. |
| 29 | + |
| 30 | +However, the recommended way is to ensure that you have added the `Telerik.Licensing` package to your project. This package is necessary for the newer licensing mechanism. |
| 31 | + |
| 32 | +Refer to the [Setting Up Your Telerik Document Processing Libraries License Key]({%slug license-key%}) documentation for details on activating your license key. |
| 33 | + |
| 34 | +Following these steps should resolve the update failure and allow for the successful update of Telerik Document Processing Libraries to the latest version, while ensuring compliance with the new licensing requirements. |
| 35 | + |
| 36 | +## See Also |
| 37 | + |
| 38 | +- [Licensing Documentation]({%slug license-key%}) |
| 39 | +- [Telerik.Licensing NuGet Package](https://www.nuget.org/packages/Telerik.Licensing) |
0 commit comments