我在哪里可以看到在 Azure DevOps 中创建的要上传到商店的包?
Where can I see the created package in Azure DevOps to upload to the store?
我想创建要加载到商店的包。
这是目前为止的 YAML
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'
The docs 在构建结果页面的 Artifacts 选项卡上提及 Artifacts 资源管理器。但是我找不到。
我也查看了项目中的工件,但它们只包含我放在那里的一些 nuget 包。
您没有看到这些工件,因为您没有 "Publish Build Artifacts" task。
例如,添加这个任务:
- task: PublishBuildArtifacts@1
inputs:
pathtoPublish: '$(appxPackageDir)'
artifactName: 'drop'
我想创建要加载到商店的包。
这是目前为止的 YAML
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'
The docs 在构建结果页面的 Artifacts 选项卡上提及 Artifacts 资源管理器。但是我找不到。
我也查看了项目中的工件,但它们只包含我放在那里的一些 nuget 包。
您没有看到这些工件,因为您没有 "Publish Build Artifacts" task。
例如,添加这个任务:
- task: PublishBuildArtifacts@1
inputs:
pathtoPublish: '$(appxPackageDir)'
artifactName: 'drop'