Unable to find package 'Microsoft.Azure.SqlDatabase.ElasticScale.Service.SplitMerge'

Ho Ming Tam 45 Reputation points

It is related to "Deploy a split-merge service to move data between sharded databases"

I followed the steps in the "Download the Split-Merge packages" (very beginning) and tried to execute the command

nuget install Microsoft.Azure.SqlDatabase.ElasticScale.Service.SplitMerge

and I got the error message as follows:

Unable to find package 'Microsoft.Azure.SqlDatabase.ElasticScale.Service.SplitMerge'

No idea on what the problem is and please help if you know what's the problem, thanks!

Azure SQL Database
{count} votes

2 answers

Sort by: Most helpful
  1. Amira Bedhiafi 16,231 Reputation points

    I think your issue may be related with nuget. Can you try the following ?

    1. Clearing the cache
    2. Restoring or re-installing the packages
    3. Changing the targetFramework
    4. Updating the Nuget Package manager


    Sometimes, packages are renamed or replaced by other packages. You can search the NuGet Gallery to see if there is a new package that supersedes the one you're trying to install.

    0 comments No comments

  2. Oury Ba-MSFT 16,891 Reputation points Microsoft Employee

    @Ho Ming Tam Thank you for being patient while working on reproducing this issue.

    I was able to install the below command (nuget install Microsoft.Azure.SqlDatabase.ElasticScale.Service.SplitMerge)

    I have followed the below instructions from the following docs.

    1. First, Install NuGet package You can download the latest recommended version at https://dist.nuget.org/win-x86-commandline/latest/nuget.exe. https://learn.microsoft.com/en-us/nuget/reference/nuget-exe-cli-reference?tabs=windows
    2. After you downloaded the file on your local folder, copy the file path.
    3. Go create a new folder in your C drive named it Nuget, double click on folder name and copy the path.
    4. In the Environment Variables section (type it in the sear, find the Path variable and click Edit.
    5. Add the path to your desired directory (e.g., C:\path\to\your\directory).
    6. Restart any open Command Prompt or PowerShell windows for the changes to take effect.
    7. Right click on the file name from the folder to open the cmd shell or PowerShell

    User's image

    User's image

    User's image

    User's image

    User's image

    Hope that will help you.

    Please comment below if you are still facing some issues.