[cmake-developers] PATCH: Add Certificate Thumbprint to VS for Windows Phone and Windows Store projects
Gilles Khouzam
Gilles.Khouzam at microsoft.com
Fri Aug 21 18:04:05 EDT 2015
I would like to submit a new patch to write the PackageCertificateThumbprint tag in VS projects for Windows Phone and Windows Store projects.
When creating a Windows Store project, a certificate is added to the package. There is a PackageCertificateThumbprint tag that VS will write when absent that contains the thumbprint of the associated certificate. This change tries to extract the thumbprint from the specified certificate and add the tag to the project when it can be extracted. This enables easier automated builds that do not run through the VS GUI.
The change is pretty straightforward, we try to load the specified certificate when present and extract the thumbprint using the Windows Crypto APIs and adds the tag at the same time as the PackageCertificate . This adds a new dependency to crypt32.lib which is available on all versions of Windows starting with Windows XP.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20150821/8fafaa8c/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CertThumb.patch
Type: application/octet-stream
Size: 6760 bytes
Desc: CertThumb.patch
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20150821/8fafaa8c/attachment-0001.obj>
More information about the cmake-developers
mailing list