File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # Universal Windows Platform
2+ # Build a Universal Windows Platform project using Visual Studio.
3+ # Add steps that test and distribute an app, save build artifacts, and more:
4+ # https://aka.ms/yaml
5+
6+ trigger :
7+ - main
8+
9+ pool :
10+ vmImage : ' windows-latest'
11+
12+ variables :
13+ solution : ' **/*.sln'
14+ buildPlatform : ' x86|x64|ARM'
15+ buildConfiguration : ' Release'
16+ appxPackageDir : ' $(build.artifactStagingDirectory)\AppxPackages\\'
17+
18+ steps :
19+ - task : NuGetToolInstaller@1
20+
21+ - task : NuGetCommand@2
22+ inputs :
23+ restoreSolution : ' $(solution)'
24+
25+ - task : VSBuild@1
26+ inputs :
27+ platform : ' x86'
28+ solution : ' $(solution)'
29+ configuration : ' $(buildConfiguration)'
30+ msbuildArgs : ' /p:AppxBundlePlatforms="$(buildPlatform)" /p:AppxPackageDir="$(appxPackageDir)" /p:AppxBundle=Always /p:UapAppxPackageBuildMode=StoreUpload'
You can’t perform that action at this time.
0 commit comments