# Handling License Key File Name and Environment Variable Name Changes in the 2025 Q1 Release

## Environment

| Version | Product                     | Author                                                                          |
| ------- | --------------------------- | ------------------------------------------------------------------------------- |
| Q1 2025 | Telerik Document Processing | [Desislava Yordanova](https://www.telerik.com/blogs/author/desislava-yordanova) |

## Description

After downloading the License Key file by using the VS2022 extensions menu:
![Download License key](https://www.telerik.com/document-processing-libraries/documentation/assets/1b326a73dfbf7838026dd4afb1387f3b/download-license-key.png)

when building a simple console app with the Telerik Document Processing libraries, you get the following error:

![License error](https://www.telerik.com/document-processing-libraries/documentation/assets/44c13a33ce4a611a74bb386516c2f636/license-error.png)

## Solution

An old [KENDO_UI_LICENSE environment variable](https://docs.telerik.com/kendo-ui/knowledge-base/license-key-file-name-and-environment-variable) may cause this error. Delete it and run the `refreshenv` command. If the rebuild produces the same error again, follow these steps:

1. Go to telerik.com and generate a new [License Key](https://www.telerik.com/account/your-licenses/license-keys).
2. Compare the license key with the one downloaded from the extensions. If it differs from the one VS2022 downloaded, replace the original `telerik-license.txt` file with the newly downloaded one.
3. Restart VS2022 to ensure it loads fresh environment variables and compile the project. The build succeeds:

   ![License Fixed](https://www.telerik.com/document-processing-libraries/documentation/assets/76dc498b4a52e19f50b3d0fc6a8ae0f4/license-fixed.png)

## See Also

* [Unable to find package Telerik.Licensing](https://www.telerik.com/document-processing-libraries/documentation/knowledge-base/dpl-package-update-failure-license)
