From f3e885b62090fd61e7123ecff5789bc35609c7f5 Mon Sep 17 00:00:00 2001 From: "Shawn Yuan (from Dev Box)" Date: Tue, 9 Dec 2025 15:48:42 +0800 Subject: [PATCH] update --- .../steps-update-winappsdk-and-restore-nuget.yml | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) 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