Trouble using licensed NuGet package with docker

3 posts, 0 answers
  1. Isha
    Isha avatar
    13 posts
    Member since:
    Aug 2018

    Posted 12 Oct 2019 Link to this post

    I am having dockerized Asp.Net Core application and using telerik UI for Asp.Net Core licensed NuGet Package by creating Telerik Package Source with physical path on my disk for nupkg file. All development was going well in debug mode, but when I tried to make a release, its giving the error - Unable to find package Telerik.UI.for.AspNet.Core with version >= 2018.2.620. Then it says that Found 1 version in nuget.org with Version 2016.3.914. 

    I don't think I should use this older version from nuget.org and moreover I will get trial version there.

    Please suggest, if I am missing some steps to reference it properly.

  2. Ianko
    Admin
    Ianko avatar
    1956 posts

    Posted 16 Oct 2019 Link to this post

    Hi Isha,

    The configuration of the private feed shown is globally for your local machine. Whereas using Docker you should setup the private feed using a NuGet.config file in the solution folder and add the account credentials and the private feed to properly have the NuGet restore the package in the Docker machine. Similar to this KB article: https://docs.telerik.com/aspnet-core/knowledge-base/setup-private-nuget-feed-azure.

    Regards,
    Ianko
    Progress Telerik

    Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
  3. Isha
    Isha avatar
    13 posts
    Member since:
    Aug 2018

    Posted 16 Oct 2019 in reply to Ianko Link to this post

    Hi lanko,

    I haven't added any account credentials, just added this Telerik.UI.for.AspNet.Core nupkg package as shown in Capture1 in root folder of project and referenced this using Telerik package source and given source of that Telerik.UI.for.AspNet.Core nupkg package path as shown in Capture 2

    Its not finding this package in release mode in docker application. What I need to change here ?

    Please suggest.

Back to Top