This article describes how to configure and use the Telerik NuGet feed.
NuGet is a popular .NET package manager. Telerik maintains a NuGet feed with official UI for ASP.NET MVC releases and service packs. These packages are available for registered users.
The Telerik NuGet feed allows you instant access to various Telerik and Kendo packages that you can install in your project. Before you can use the Telerik NuGet Feed as a Package source, you must configure your machine by utilizing any of the following methods:
The following video demonstrates how to add the Telerik NuGet feed through the NuGet Package Manager tool in Visual Studio or the
Open Visual Studio.
Go to Tools > NuGet Package Manager > Package Manager Settings, select Package Manager Sources, and then click the + button.
Add a Name for the Telerik NuGet feed.
Add the Source URL: https://nuget.telerik.com/nuget and click OK.
You have successfully added the Telerik NuGet feed as a Package source. The steps below describe how to authenticate your local NuGet instance and how to display the available packages:
Create a new project or open an existing project.
Right-click on the solution in the Solution Explorer window.
Select Manage NuGet Packages for Solution...
Select the Telerik NuGet Package source from the drop-down list.
Click on the Browse tab to see the available packages.
Enter your Telerik credentials in the Windows Authentication dialog.
You will see all packages that are licensed to your user account in the Visual Studio Package Manager.
Download the latest NuGet executable.
Open a command prompt and change the path to where the
Execute the command:
NuGet Sources Add -Name "telerik.com" -Source "https://nuget.telerik.com/nuget" -UserName "your login email" -Password "your password"
The above command stores a token in the
%AppData%\NuGet\NuGet.configfile. Your original credentials cannot be obtained from this token.
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 ```
An alternative way to add the Telerik NuGet feed is to directly edit the nuget.config file. Refer to this video for more details.
If you have already purchased a commercial Telerik UI license, you can use the Progress Control Panel application to configure the Telerik NuGet. Refer to this section in the Getting Started article for more details.
The UI for ASP.NET MVC free trial installer package comes with an option that will automatically configure the Telerik NuGet feed for you. Refer to this section in the Getting Started article for more details.
The NuGet feed provides the following packages related to Telerik UI for ASP.NET MVC:
Telerik.UI.for.AspNet.Mvc5—Telerik UI for ASP.NET MVC 5 Commercial.
Telerik.UI.for.AspNet.Mvc5.Trial—Telerik UI for ASP.NET MVC 5 Trial.
Telerik.UI.for.AspNet.Mvc4—Telerik UI for ASP.NET MVC 4 Commercial.
Telerik.UI.for.AspNet.Mvc4.Trial—Telerik UI for ASP.NET MVC 4 Trial.
Telerik.UI.for.AspNet.Mvc3—Telerik UI for ASP.NET MVC 3 Commercial.
Telerik.UI.for.AspNet.Mvc3.Trial—Telerik UI for ASP.NET MVC 3 Trial.
For more information on the list of the provided Kendo UI packages, refer to the article on installing Kendo UI for jQuery with NuGet.
This section provides solutions for common issues you might encounter while using the Kendo UI NuGet feed.
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.
- Disable the auto-sync in the
_references.jsfile by modifying the following
/// <autosync enabled="false" />line.
- You can also disconnect the project from the source control before running the Update Wizard.