Telerik provides NuGet packages from private NuGet feed. The article elaborates on how to add the Telerik NuGet feed to the Visual Studio NuGet package manager.

Prerequisites:

  • Visual Studio 2010 or newer.

  • Valid Telerik Reporting trial or paid license.

Setup

  1. Open Visual Studio.

  2. Go to Tools > NuGet Package Manager > Package Manager Settings, select Package Manager Sources and then click the + button.

  3. Choose feed Name, set the feed URL to: https://nuget.telerik.com/nuget and click OK.

    Figure 1: Visual Studio NuGet Package Manager and Telerik NuGet Feed:
    nuged feed
  4. Create or load your project.

  5. Go to Tools > NuGet Package Manager > Manage NuGet Packages for solution.

  6. Choose the Online / Browse list of packages (depending on your VS version).

  7. Enter your Telerik credentials in the Windows Authentication dialog (e.g., user: my.name@my.company.com and password: myPassPhraseForTelerikDotCom).

  8. Enter your credentials only once by selecting the Remember my password checkbox.

    Figure 2: Enter your Telerik.com credentials to access the Telerik NuGet feed:
    nuget Wcredentials
  9. Now all the packages that are licensed (paid or trial) to the above users are available in the Visual Studio NuGet Package manager.

Setup with NuGet CLI

  1. Download the latest NuGet executable.

  2. Open a Command Prompt and change the path to the nuget.exe location.

  3. The command from the example below stores a token in the %AppData%\NuGet\NuGet.config file. Your original credentials cannot be obtained from this token.

    NuGet Sources Add -Name "telerik.com" -Source "https://nuget.telerik.com/nuget" ^
    -UserName "your login email" -Password "your password"

    If you are unable to connect to the feed by using encrypted credentials, try the alternative approach of storing credentials in clear text.

    NuGet Sources Add -Name "telerik.com" -Source "https://nuget.telerik.com/nuget" ^
    -UserName "your login email" -Password "your password" ^
    -StorePasswordInClearText

    If you have already stored a token instead of storing the credentials as clear text, you could update the definition in the %AppData%\NuGet\NuGet.config file using the following command:

    NuGet Sources Update -Name "telerik.com" -Source "https://nuget.telerik.com/nuget" ^
    -UserName "your login email" -Password "your password" ^
    -StorePasswordInClearText

Troubleshooting

After changing my Telerik password, I get [Telerik Nuget] The V2 feed at '...' returned an unexpected status code '401 Logon failed.' error

After changing your Telerik password, you need to reset your credentials in the NuGet.config file. To do this, run the NuGet Sources Update -Name "telerik.com" -Source "https://nuget.telerik.com/nuget" -UserName "your login email" -Password "your new password" command.

In this article
Not finding the help you need?