rSetup NuGet Private Feed for Telerik on VSTeamServices/MSBuild

2 posts, 0 answers
  1. Will
    Will avatar
    5 posts
    Member since:
    Jul 2014

    Posted 29 Jan 2017 Link to this post

    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

     

     

     

  2. Ianko
    Admin
    Ianko avatar
    1945 posts

    Posted 02 Feb 2017 Link to this post

    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.
Back to Top