I am trying to implement CI/CD on Azure DevOps for my Asp.net Core project.
Project having Nuget packages from three different sources:
MSBUild in Azure Pipeline is going to find nuget packages in Offline Packages or Nuget.org only but not going to find external source which i am also using: http://dev-abc-api-nugetserver-wi.azurewebsites.net/nuget/
I have tried below code in Azure Pipeline Build but that didn't work
/p:RestoreAdditionalSources="http://dev-abc-api-nugetserver-wi.azurewebsites.net/nuget/" /t:Rebuild
But still receiving same error:
Error NU1101: Unable to find package abc.Core.Services. No packages exist with this id in source(s): Microsoft Visual Studio Offline Packages, nuget.org
My build pipeline:
dotnet restore
before your build. – Shayki Abramczyk