【发布时间】:2017-11-29 08:46:35
【问题描述】:
我正在尝试使用 Team Foundation Server 和 App Center 运行 UWP 构建,但它给了我这个错误。
##[error]C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\Bin\Microsoft.Common.CurrentVersion.targets(3090,5): Error MSB3325: Cannot import the following key file: AppCenterTest.UWP_TemporaryKey.pfx. The key file may be password protected. To correct this, try to import the certificate again or manually install the certificate to the Strong Name CSP with the following key container name: VS_KEY_480BF88F6934FA8C
我尝试为 Team Foundation Server 创建一个专用代理,该代理仅解决了 Team Foundation Server 的问题,因为证书安装在我的专用代理上。但对于 App Center,默认情况下运行的是托管代理。
如何解决这个问题?谢谢。
【问题讨论】:
-
您使用的是自定义证书吗?您使用 TFVC 或 GIT 哪个源代码控制?此外,您在源代码管理中添加了
AppCenterTest.UWP_TemporaryKey.pfx键吗? -
我正在使用 git。我包括 AppCenterTest.UWP_TemporaryKey.pfx。
-
我在 Package.appxmanifest 中创建证书
标签: tfs uwp devops visual-studio-app-center