# Upgrade to Latest Version

Learn how to upgrade the license to the latest version using DsExcel.

## Content

Follow one of the below to upgrade your DsExcel.NET license to the latest version:

* If you are using the current major version, the existing license key is still valid.
* If you are upgrading from a previous major version, a new license key will be needed.

The new license key must have been provided if you are under current Maintenance. But in case the Maintenance has expired, please contact [us.sales@mescius.com](mailto:us.sales@mescius.com) to purchase the upgrade.
After receiving the new license key, follow the steps shared below:

1. Open an existing .NET core application created with DsExcel.NET previous license.
2. Right-click the project in **Solution Explorer** and choose **Manage Nuget Packages**.
3. In the **Package Source** on top right, select **nuget.org**
4. Click **Updates** tab on the top to display the list of all the installed Nuget packages.
5. On the left panel, select the **Select all packages** check box and click **Update**.
6. In the **Preview Changes** dialog, click **Ok** and choose **I Accept** in the next screen.
7. Switch to the code view and replace the old key with the new license key received via email.
    * To upgrade the license of a particular instance:
        var doc = new Workbook("new key");
    * To upgrade the license of all the instances:
        Workbook.SetLicenseKey("new key");

> !type=note
> **Note:**<span style="color: inherit; background-color: var(--ds-alert-bg); font-family: var(--font-sans-serif); font-size: var(--bs-body-font-size); font-weight: var(--bs-body-font-weight); text-align: var(--bs-body-text-align);"> With v7.0, GrapeCity.Documents.Excel (GcExcel) package is renamed to DS.Documents.Excel (DsExcel). The namespaces and classes within DS.Documents.Excel remain the same, which provide the same functionality and are backwards compatible with GrapeCity.Documents.Excel, ensuring minimal impact on your existing projects.</span>
> To upgrade GcExcel package to DsExcel package in your existing projects, follow one of the below options:
>
> * Update package using Migration tool:
>     1. The migration tool is present in the package downloaded from the website. Follow the instructions displayed in the UI when using the tool for a seamless migration from GcExcel to DsExcel.
> * Update package manually from NuGet package manager:
>     1. In **Solution Explorer**, right-click either **Dependencies** or a project and select **Manage NuGet Packages**.
>     2. In **Installed** tab, click on **GrapeCity.Documents.Excel** package and click **Uninstall** to remove it and its dependencies from the project.
>     3. In **Browse** tab, type "ds.documents" or "DS.Documents" in the search text box at the top and find the package "DS.Documents.Excel".
>     4. Click Install to add the **DS.Documents.Excel** package and its dependencies into the project.