Reputation: 808
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
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:
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