Skip to content

A Swiss Army knife for developers.

restore and build with VS in 1 task

Etienne Baudouxf9a6b113bac8
diff --git a/ci/azure-pipelines.yml b/ci/azure-pipelines.yml
index 8e403aab1..9cc7ba4e5 100644
--- a/ci/azure-pipelines.yml
+++ b/ci/azure-pipelines.yml
@@ -37,23 +37,23 @@ jobs:
# configuration: '$(BuildConfiguration)'
# msbuildArguments: '/t:restore'
- - task: VSBuild@1
- inputs:
- solution: '**\*.sln'
- msbuildArgs: '/t:Restore'
- platform: 'x86'
- configuration: 'Release'
- clean: true
- logProjectEvents: false
- maximumCpuCount: false
+ # - task: VSBuild@1
+ # inputs:
+ # solution: '**\*.sln'
+ # msbuildArguments: '/t:Restore'
+ # platform: 'x86'
+ # configuration: 'Release'
+ # clean: true
+ # logProjectEvents: false
+ # maximumCpuCount: false
- task: VSBuild@1
+ displayName: 'Restore nuget and Build solution'
inputs:
solution: '**\*.sln'
- msbuildArgs: '/t:build'
platform: 'x86'
configuration: '$(buildConfiguration)'
- msbuildArguments: '/t:build;_GenerateAppxPackage /p:AppxBundlePlatforms="$(buildPlatform)" /p:AppxPackageDir="$(appxPackageDir)" /p:AppxBundle=Always /p:UapAppxPackageBuildMode=Sideload /p:AppxPackageSigningEnabled=false'
+ msbuildArguments: '/t:Restore;/t:build;_GenerateAppxPackage /p:AppxBundlePlatforms="$(buildPlatform)" /p:AppxPackageDir="$(appxPackageDir)" /p:AppxBundle=Always /p:UapAppxPackageBuildMode=Sideload /p:AppxPackageSigningEnabled=false'
clean: true
logProjectEvents: false
maximumCpuCount: false