I use tfsbuild 2010 such arguments "/p:VisualStudioVersion=12.0 ;ToolPath=" C: \ Programs (x86) \ MSBuild \ 12.0 \ Bin "" to create a Windows storage application. There is no problem signing packages when using a test certificate without a password.
But it does not work with the error below for a third-party certificate with a password.
C: \ Program Files (x86) \ MSBuild \ Microsoft \ VisualStudio \ v12.0 \ AppxPackage \ Microsoft.AppXPackage.Targets (1781.9): error APPX0105: Unable to import key file "XXXX.pfx". The key file can be password protected. To fix this, try importing the certificate manually into the personal vault of current users.
C: \ Program Files (x86) \ MSBuild \ Microsoft \ VisualStudio \ v12.0 \ AppxPackage \ Microsoft.AppXPackage.Targets (1781.9): error APPX0102: certificate with fingerprint "XXXXX" that was specified in the project could not be found in the certificate store. Specify the file in the project file.
I imported the certificate into personal certificates, as well as into trusted root certificates, still no luck. Anyway, can I pass the password? Or if there is a better way to solve this problem?
source
share