SHARE
TWEET

Untitled

a guest Feb 16th, 2019 67 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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'
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top