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

## Environment

<table>
	<tbody>
		<tr>
			<th scope="row">Product Version</th>
			<td>2025.1.211</td>
		</tr>
		<tr>
			<th scope="row">Product</th>
			<td>UI for WPF</td>
		</tr>
	</tbody>
</table>

## 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](https://www.telerik.com/products/wpf/documentation/installation/licensing/installing-license-key) 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 aforementioned error.
