From a87d6a8fb2fd032d086204e6f4919b1107c66fc1 Mon Sep 17 00:00:00 2001 From: Robin Date: Tue, 17 Nov 2020 15:34:08 +0100 Subject: [PATCH] Changed nuget restore to use the dotnet cli. --- azure-pipelines.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 544d1ed96..a2a4bb70e 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -30,11 +30,12 @@ steps: packageType: sdk version: 5.0.100 -- task: NuGetCommand@2 - displayName: NuGet restore +- task: DotNetCoreCLI@2 + displayName: 'dotnet restore' inputs: - restoreSolution: '$(solution)' - feedsToUse: config + command: 'restore' + projects: '**/*.csproj' + feedsToUse: 'config' - task: DotNetCoreCLI@2 displayName: Publish single-exe x64