getting an error when deploying the code through azure pipelines

1 Answer 14 Views
Installer and VS Extensions
Anjali
Top achievements
Rank 2
Anjali asked on 21 Aug 2025, 02:40 AM

I am getting an error in telerik.ui.for.aspnet.core when I tried to built the code through Azure pipelines. This is the error:

 

D:\AgentAzServices\_work\9\s\NewHirePackage.csproj : error NU1301: The local source 'C:\Users\e245737\AppData\Roaming\Telerik\Updates\telerik.ui.for.aspnet.core.hotfix.2023.3.1114.commercial\wrappers\aspnetcore\Binaries\AspNet.Core' doesn't exist.

 

this is the second error, I am getting:

Error NU1301: The local source 'C:\Users\e245737\AppData\Roaming\Telerik\Updates\telerik.ui.for.aspnet.core.hotfix.2023.3.1114.commercial\' doesn't exist.

 

do I need to upgrade the "Telerik.UI.for.AspNet.Core" to higher version? Please see the attached picture, I dont see any higher version.

 

Thank you.

1 Answer, 1 is accepted

Sort by
1
Accepted
Lance | Senior Manager Technical Support
Telerik team
answered on 21 Aug 2025, 03:23 PM

Hello Anjali,

The problem is because you have a package source listed in your nuget.config that does not exist in Azure when you check in your code. According to the error, there is this package source

- C:\Users\e245737\AppData\Roaming\Telerik\Updates\telerik.ui.for.aspnet.core.hotfix.2023.3.1114.commercial\

I'm assuming this is something you have setup on your local machine, but you should instead be using the Telerik NuGet server for the package source, not a local folder. Please follow this documentation to change your solution's nuget.config file to the proper setup that will work in any environment => nuget-install#setup-with-nugetconfig 

If you would like an example to compare with, you can take a look at my GitHub repo that builds all of our products in GH Actions, Azure DevOps and more =>

It is particularly important to understand the authentication part, because you don't want to put plain credentials into the nuget.config file, so please also visit this article that shows you how you can use a Telerik NuGet Key => ASP.NET Core Restoring NuGet Packages in CI. This is particularly important if your repo is public, you cannot put the credential in plain text (password or telerik key), instead use an pipeline secret variable like I do in my demo above.

Regards,
Lance | Senior Manager Technical Support
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.

Anjali
Top achievements
Rank 2
commented on 21 Aug 2025, 11:55 PM

Thank you! Everything worked fine! I encrypted the password. Thanks for the nuget.config example, that helped a lot.
Lance | Senior Manager Technical Support
Telerik team
commented on 22 Aug 2025, 12:19 PM

Thats great news! Feel free to bookmark my DevOpsExamples repo. The apps themselves are very simple demos or even blank apps, the purpose of the repo is to use CI/CD techniques that don't have official documentation because its outside the scope of support (docker, new NuGet thing, difference CI systems, etc.).

Tags
Installer and VS Extensions
Asked by
Anjali
Top achievements
Rank 2
Answers by
Lance | Senior Manager Technical Support
Telerik team
Share this question
or