diff --git a/.pipelines/v2/templates/steps-update-winappsdk-and-restore-nuget.yml b/.pipelines/v2/templates/steps-update-winappsdk-and-restore-nuget.yml index 5c683f0b02..31c4279218 100644 --- a/.pipelines/v2/templates/steps-update-winappsdk-and-restore-nuget.yml +++ b/.pipelines/v2/templates/steps-update-winappsdk-and-restore-nuget.yml @@ -19,11 +19,19 @@ steps: -useExperimentalVersion $${{ parameters.useExperimentalVersion }} -rootPath "$(build.sourcesdirectory)" -- task: NuGetCommand@2 - displayName: 'Restore NuGet packages (slnx)' +# - task: NuGetCommand@2 +# displayName: 'Restore NuGet packages (slnx)' +# inputs: +# command: 'restore' +# feedsToUse: 'config' +# nugetConfigPath: '$(build.sourcesdirectory)\nuget.config' +# restoreSolution: '$(build.sourcesdirectory)\**\*.slnx' +# includeNuGetOrg: false + +- task: DotNetCoreCLI@2 + displayName: 'Restore NuGet packages (dotnet)' inputs: command: 'restore' + projects: '$(build.sourcesdirectory)\**\*.slnx' feedsToUse: 'config' nugetConfigPath: '$(build.sourcesdirectory)\nuget.config' - restoreSolution: '$(build.sourcesdirectory)\**\*.slnx' - includeNuGetOrg: false