I have a question using the hosted (free) AzureDevops pipelines. I have a small .NET Core project which I want to create an Azure Devops pipeline where the following is done
You have missed setting some required arguments in your NuGetCommand@2 task.
Try this:
- task: NuGetCommand@2
displayName: 'NuGet push'
inputs:
command: push
feedsToUse: select
vstsFeed: nugetprojectstestfeed
nuGetFeedType: internal
publishVstsFeed: nugetprojectstestfeed
allowPackageConflicts: true
If we look into the documentation of NuGet task, for 'push' command certain arguments are required.