This is a migrated thread and some comments may be shown as answers.

rSetup NuGet Private Feed for Telerik on VSTeamServices/MSBuild

1 Answer 160 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Will
Top achievements
Rank 1
Will asked on 29 Jan 2017, 06:11 PM

Instructions for setting-up a NuGet private feed on your development machine are given at http://docs.telerik.com/aspnet-mvc/getting-started/nuget-install. The following instructions allow you to do the same when running MSBuild on a Build machine such as hosted by Azure.

  1. Add NuGet.config to WebApp project in Visual Studio
    • Add new item NuGet.config to same directory as project.json and edit as below, setting your own username and password (in clear text) as needed to logon to the Telerik site:
      <?xml version="1.0" encoding="utf-8"?>
      <configuration>
          <packageSources>
               <add key="Telerik" value="https://nuget.telerik.com/nuget/" />
          </packageSources>
          <packageSourceCredentials>
            <Telerik>
              <add key="Username" value="will.***@****.com" />
              <add key="ClearTextPassword" value="********" />
            </Telerik>
          </packageSourceCredentials>
      </configuration>
  1. Edit Build Definition to add step for NuGet installer - In Visual Studio a) select Team Explorer, Builds b) select Build Definition, right click | Edit Build Definition. This opens the Build Definition in your browser - see attached screen shot
  2. In Build Definition editor add build step = Nuget Installer, drag/drop to top of list and specify the solution file as well as the NugGet.config
  3. Save
  4. Save your changes to source control for the WebApp in Visual Studio - i.e. the Build Definition and NuGet.config
  5. Queue a New Build

I hope this saves someone a bit of time.

Will

 

 

 

1 Answer, 1 is accepted

Sort by
0
Ianko
Telerik team
answered on 02 Feb 2017, 09:03 AM

Hello Will,

 

Thank you very much for this information. I think it would be indeed useful for many developers that deploy on Azure. 

 

I created a GitHub issue for this information to be added in the documentation. If you have any updates you can post comments here: https://github.com/telerik/kendo-ui-core/issues/2710

 

As a small token of gratitude for sharing your knowledge with the Kendo community, I am updating your account with some points.

 

Regards,
Ianko
Telerik by Progress
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
General Discussions
Asked by
Will
Top achievements
Rank 1
Answers by
Ianko
Telerik team
Share this question
or