From 70f95a0991ade14295c536861849dc3cb2cdbe0d Mon Sep 17 00:00:00 2001 From: Markus Hofknecht Date: Sun, 6 Jun 2021 16:28:16 +0200 Subject: [PATCH] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index c62e270..2d7fc2e 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -23,11 +23,13 @@ steps: packageType: sdk version: 3.1.102 -- task: NuGetCommand@2 - displayName: NuGet restore - inputs: - restoreSolution: '$(solution)' - feedsToUse: config + +#- task: NuGetCommand@2 +# displayName: NuGet restore +# inputs: +# restoreSolution: '$(solution)' +# feedsToUse: config +## => not more working, removed, trying via MSBuild restoreNugetPackages #- task: DotNetCoreCLI@2 # displayName: Publish single-exe x64 @@ -64,6 +66,7 @@ steps: displayName: 'MSBuild' inputs: solution: '**/*.sln' + restoreNugetPackages: true msbuildArguments: '-p:Configuration=Release -p:Platform="Any CPU"' # msbuildArguments: '-p:Configuration=Release -p:Platform=x64' # msbuildArguments: '-p:Configuration=Release -p:Platform=x86'