Unable to find package Telerik.Licensing
Environment
Version | Product | Author |
---|---|---|
Q1 2025 | Telerik Document Processing | Desislava Yordanova |
Problem
After upgrading the Telerik Document Processing libraries to version Q1 2025, the following error messages may occur:
"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."
"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."
Solution
Note: If you have a Source Mapping for "Telerik.\" that points to your Telerik source, make sure you also add one for NuGet.org.*
This may happen if you upgrade to Q1 2025 from an older version. With Q1 2025 a new licensing mechanism was introduced, which requires a reference the Telerik.Licensing.Runtime dll.
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.
Refer to the Setting Up Your Telerik Document Processing Libraries License Key documentation for details on activating your license key.
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.