Skip to content

A Swiss Army knife for developers.

Update azure-pipelines.yml for Azure Pipelines

Etienne Baudouxd4e82971efa5
diff --git a/ci/azure-pipelines.yml b/ci/azure-pipelines.yml
index aea824317..77f46eba8 100644
--- a/ci/azure-pipelines.yml
+++ b/ci/azure-pipelines.yml
@@ -11,17 +11,20 @@ pool:
variables:
solution: '**/*.sln'
- buildPlatform: 'x86|x64|ARM|ARM64'
+ buildPlatform: 'x86|x64|ARM'
buildConfiguration: 'Release'
appxPackageDir: '$(build.artifactStagingDirectory)\AppxPackages\\'
steps:
+- task: NuGetToolInstaller@1
+
+- task: NuGetCommand@2
+ inputs:
+ restoreSolution: '$(solution)'
+
- task: VSBuild@1
- displayName: 'Build solution'
inputs:
- solution: '$(solution)'
- msbuildArgs: '/p:AppxBundlePlatforms="$(buildPlatform)" /p:AppxPackageDir="$(appxPackageDir)" /p:AppxBundle=Always /p:UapAppxPackageBuildMode=StoreUpload'
platform: 'x86'
+ solution: '$(solution)'
configuration: '$(buildConfiguration)'
- maximumCpuCount: true
- restoreNugetPackages: true
+ msbuildArgs: '/p:AppxBundlePlatforms="$(buildPlatform)" /p:AppxPackageDir="$(appxPackageDir)" /p:AppxBundle=Always /p:UapAppxPackageBuildMode=StoreUpload'