Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- trigger:
- - master
- pool:
- vmImage: 'VS2017-Win2016'
- variables:
- solution: '**/*.sln'
- buildPlatform: 'x64'
- buildConfiguration: 'Release'
- appxPackageDir: '$(build.artifactStagingDirectory)AppxPackages\'
- steps:
- - task: NuGetToolInstaller@0
- - task: NuGetCommand@2
- inputs:
- restoreSolution: '***.sln'
- feedsToUse: config
- nugetConfigPath: 'MyApp.Win10/mynuget.config'
- - task: VSBuild@1
- inputs:
- platform: 'x64'
- solution: '***.sln'
- configuration: '$(buildConfiguration)'
- msbuildArgs: '/p:AppxBundlePlatforms="$(buildPlatform)" /p:AppxPackageDir="$(appxPackageDir)" /p:AppxBundle=Always /p:UapAppxPackageBuildMode=StoreUpload'
- - task: PublishBuildArtifacts@1
- inputs:
- pathtoPublish: '$(appxPackageDir)'
- artifactName: 'drop'
Add Comment
Please, Sign In to add comment