Dotnet Build using Command Line and Update Nuget Packages

I have several web api solutions that I work on. They are built using ASP.Net Core.
I’m trying to build a powershell script that will pull down the latest version of the develop branch of each solution.
I would like to build the solution too. All of our nuget packages are in Azure.
When it builds the solution, it tries to update the nuget packages. How can I include, in the script, the credentials to the Azure nuget feed?

Thank you.

Leave a Comment