New to Telerik UI for WPFStart a free 30-day trial

Could not Find Assembly Telerik.Licensing.Runtime Compile Error After Upgrade

Updated over 6 months ago

Environment

Product Version2025.1.211
ProductUI for WPF

Description

An error occurs after upgrade that the Telerik.Licensing.Runtime assembly cannot be found. The error message is something like this:

Unknown build error, 'Could not find assembly 'Telerik.Licensing.Runtime, Version=1.4.6.0, Culture=neutral, PublicKeyToken=tokenhere'. Either explicitly load this assembly using a method such as LoadFromAssemblyPath() or use a MetadataAssemblyResolver that returns a valid assembly.

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

To resolve the error, reference the Telerik.Licensing.Runtime.dll file in the project or install the Telerik.Licensing NuGet package.

If you install the Telerik UI for WPF assemblies using NuGet packages, the Telerik.Licensing package is installed automatically and you should not see the beforementioned error.

In this article
EnvironmentDescriptionSolution
Not finding the help you need?
Contact Support