【发布时间】:2017-04-05 18:04:11
【问题描述】:
我正在使用 AppVeyor CI 构建我的 UWP 应用,并希望在每次构建期间创建一个 APPX 包。但是,我的 .gitignore 忽略了我想包含在 APPX 包中的 Package.StoreAssociation.xml 和 MyAppName_StoreKey.pfx,因为它们正在 Windows Store 中识别我的应用程序。
有什么方法可以使用 PowerShell 或 MSBuild 或类似的工具获取这些文件?换句话说,有没有等价于Project > Store > Associate App with the Store... 向导的命令行?
我知道我可以将这些文件以 Secure files 的身份上传到 repo,但我更愿意在每次构建时从开发中心获取最新文件。
【问题讨论】:
标签: powershell msbuild uwp win-universal-app