Jim
Jim

Reputation: 808

Build Server Xap packaging failed. Missing certificate

We are using TFS build server and when I send my application that uses a code signing certificate I get the above message of "Xap packaging failed. Missing certificate."

I Installed the certificate under my logon and the ad account that visual studio team foundation build service host runs under In the personal certificate store.

Any sugegstion would be appreciated.

Upvotes: 0

Views: 1973

Answers (1)

rmiesen
rmiesen

Reputation: 2559

While I'm not familiar with TFS, I have experienced similar problems trying to setup CI using TeamCity from JetBrains. I am assuming that you're attempting to sign your assemblies or XAPs in a fashion similar to below:

Figure 1: Signing an assembly using an installed certificate

If this is true, then the problem you are encountering is that TFS is probably running under the SYSTEM account whereas your code-signing certificate is installed under your account. As such, the SYSTEM account doesn't have access to the certificates installed under your account. Unfortunately, I don't know of any way to solve this problem other then filing a trouble ticket upstream with Microsoft.

Hope this helps a little.

Upvotes: 0

Related Questions