Telerik Package restore for ASP.Net Core in a stand alone server not happening

1 Answer 13 Views
General Discussions Installer and VS Extensions Licensing
Arunkumar
Top achievements
Rank 1
Arunkumar asked on 10 Jul 2025, 01:44 PM

Hi Team,

In our ASP.Net Core MVC project we are using the Telerik Feed for automatic package restoration which work fine by setting up the Username and Password in the nuget.config file inside the %AppData% Folder(C:\Users\-----\AppData\Roaming\NuGet  present inside windows), but when we try to deploy build into the server Nuget package restore is failing. May I expect any assistance on this or any steps are we missing which we need to follow to get restoration happen properly on the server.

1 Answer, 1 is accepted

Sort by
0
Mihaela
Telerik team
answered on 15 Jul 2025, 10:18 AM

Hello Arunkumar,

To ensure the package restore works in your server environment, follow the next steps:

1. Add NuGet.config at Solution or Project Level:

  • Place a NuGet.config file in your solution or project directory.

2. Configure the NuGet.config file with the Telerik Feed:

  • Generare a NuGet key, as described in the following article:

https://www.telerik.com/aspnet-core-ui/documentation/deployment/nuget-keys#generating-nuget-keys

    <configuration>
    <packageSources>
        <clear/>
        <add key="nuget.org" value="https://api.nuget.org/v3/index.json" protocolVersion="3" />
        <add key="MyTelerikFeed" value="https://nuget.telerik.com/v3/index.json" protocolVersion="3"/>
    </packageSources>
    <packageSourceCredentials>
        <MyTelerikFeed>
        <add key="Username" value="api-key" />
        <add key="ClearTextPassword" value="%MY_API_KEY%" />
        </MyTelerikFeed>
    </packageSourceCredentials>
    ...
    </configuration>

If you’re using a CI/CD system (e.g., Azure DevOps), check out the following section in the documentation:

https://www.telerik.com/aspnet-core-ui/documentation/deployment/ci-cd-build-server

If any further questions arise, please let me know.

        Regards,
        Mihaela
        Progress Telerik

        Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

        Tags
        General Discussions Installer and VS Extensions Licensing
        Asked by
        Arunkumar
        Top achievements
        Rank 1
        Answers by
        Mihaela
        Telerik team
        Share this question
        or