Guest User

Untitled

a guest
Feb 16th, 2019
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.76 KB | None | 0 0
  1. trigger:
  2. - master
  3.  
  4. pool:
  5. vmImage: 'VS2017-Win2016'
  6.  
  7. variables:
  8. solution: '**/*.sln'
  9. buildPlatform: 'x64'
  10. buildConfiguration: 'Release'
  11. appxPackageDir: '$(build.artifactStagingDirectory)AppxPackages\'
  12.  
  13. steps:
  14. - task: NuGetToolInstaller@0
  15.  
  16. - task: NuGetCommand@2
  17. inputs:
  18. restoreSolution: '***.sln'
  19. feedsToUse: config
  20.  
  21. nugetConfigPath: 'MyApp.Win10/mynuget.config'
  22.  
  23.  
  24. - task: VSBuild@1
  25. inputs:
  26. platform: 'x64'
  27. solution: '***.sln'
  28. configuration: '$(buildConfiguration)'
  29. msbuildArgs: '/p:AppxBundlePlatforms="$(buildPlatform)" /p:AppxPackageDir="$(appxPackageDir)" /p:AppxBundle=Always /p:UapAppxPackageBuildMode=StoreUpload'
  30.  
  31. - task: PublishBuildArtifacts@1
  32. inputs:
  33. pathtoPublish: '$(appxPackageDir)'
  34. artifactName: 'drop'
Add Comment
Please, Sign In to add comment