Could not Load File Or Assembly Telerik.Licensing.Runtime, Version 1.4.6.0 Runtime Error
Environment
Product Version | 2025.1.211 |
Product | UI for WPF |
Description
FileNotFoundException
is thrown at runtime, which states that the Telerik.Licensing.Runtime
assembly cannot be loaded. The error message is something like this:
FileNotFoundException: Could not load file or assembly 'Telerik.Licensing.Runtime, Version=1.4.6.0, Culture=neutral, PublicKeyToken=tokenhere'. The system cannot find the file specified.
This may happen if you upgrade to 2025 Q1 from an older version. With 2025 Q1, a new licensing mechanism was introduced, which requires you to reference the Telerik.Licensing.Runtime
dll.
Solution
The exception means that the version of the Telerik.Licensing.Runtime
dll mismatches the version of the version expected by the other Telerik UI for WPF dlls. This may happen if the project references the Telerik dlls containing the component/controls from one version and the Telerik.Licensing.Runtime
dll from another version of Telerik UI for WPF.
To resolve the problem, make sure that all Telerik controls are referenced from the same installation place, thus using the same release version.