Set Up Private NuGet Feed for Azure


Product Progress® Telerik® UI for ASP.NET Core


How can I set up the private NuGet feed in Azure to publish an ASP.NET Core application that references the Telerik UI for ASP.NET Core assembly?


Add a private NuGet feed when running an MSBuild on a build machine such as one hosted by Azure.

  1. Add NuGet.config to the WebApp project in Visual Studio.
  2. Add a new NuGet.config item to the same directory as the project.json file is located.
  3. Set your own username and password (in clear text) that are needed to log in to the Telerik site. The following example demonstrates how to do this.

    <?xml version="1.0" encoding="utf-8"?>
            <add key="Telerik" value="" />
            <add key="Username" value="" />
            <add key="ClearTextPassword" value="********" />
  4. Set the Build Definitions editor in Visual Studio to add a step for the NuGet installer. To achieve this:

    1. Select Team Explorer > Builds.
    2. Select Build Definitions and right-click Edit Build Definitions. This operation opens the Build Definitions in your browser, as shown in the following screenshot.


  5. In the Build Definitions editor, add a Nuget Installer build step by clicking Add build step....

  6. Drag-and-drop the Nuget Installer build step to the top of the build steps list. Specify the solution and the NugGet.config files and then save them.
  7. Save your changes to the source control for the WebApp in Visual Studio—that is, the Build Definitions and the NuGet.config file.
  8. To build the application, click Queue a new build.

See Also

In this article
Not finding the help you need? Improve this article