Adding the Telerik Private NuGet Feed to VS
The old https://nuget.telerik.com/nuget server is deprecated and we encourage our clients to switch to the v3 API. The new v3 API is faster, lighter, and reduces the number of requests from NuGet clients. The NuGet v2 server at https://nuget.telerik.com/nuget will be sunset in November 2024. The new v3 protocol offers faster package searches and restores, improved security, and more reliable infrastructure. To redirect your feed to the NuGet v3 protocol, all you have to do is to change your NuGet package source URL to https://nuget.telerik.com/v3/index.json.
Telerik provides NuGet packages from the private Telerik NuGet feed which you can add to the Visual Studio NuGet package manager.
Prerequisites
Visual Studio 2012 or later.
Valid Telerik Reporting trial or commercial license.
Setup
- Open Visual Studio.
- Go to Tools > NuGet Package Manager > Package Manager Settings, select Package Manager Sources and click the + button.
-
Choose the feed Name, set the feed URL to https://nuget.telerik.com/v3/index.json and click OK.
Create or load your project.
- Go to Tools > NuGet Package Manager > Manage NuGet Packages for solution.
- In the upper right-hand corner of the Manage Packages for Solution window, select the Telerik Package source that you just added.
- Depending on your Visual Studio version, choose the Online or Browse list of packages.
- In the Windows Authentication dialog, enter your Telerik credentials. For example, user: my.name@my.company.com and password: myPassPhraseForTelerikDotCom.
-
Enter your credentials only once by selecting the Remember my password checkbox.
Now all the packages that are licensed to the above users are available in the Visual Studio NuGet Package manager.
If you work with Visual Studio Code on Linux or Mac OS, use the Nuget CLI to set up the Telerik NuGet feed.
Setup with NuGet CLI
- Download the latest NuGet executable.
- Open a Command Prompt and change the path to the
nuget.exe
location. -
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/v3/index.json" ^ -UserName "your login email" -Password "your password"
If you are unable to connect to the feed by using encrypted credentials, store your credentials in clear text.
NuGet Sources Add -Name "telerik.com" -Source "https://nuget.telerik.com/v3/index.json" ^ -UserName "your login email" -Password "your password" ^ -StorePasswordInClearText
Encrypted passwords are only supported on Windows.
If you have already stored a token instead of storing the credentials as clear text, update the definition in the
%AppData%\NuGet\NuGet.config
file by using the following command:NuGet Sources Update -Name "telerik.com" -Source "https://nuget.telerik.com/v3/index.json" ^ -UserName "your login email" -Password "your password" ^ -StorePasswordInClearText