The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

SignFile Task

Signs the specified file using the specified certificate.

The following table describes the parameters of the SignFile task.

Parameter Description


Required String parameter.

Specifies the certificate to use for signing.


Required ITaskItem parameter.

Specifies the files to sign with the certificate.


Optional String parameter.

Specifies the URL of a time stamping server.

The following example uses the SignFile task to sign the files specified in the FilesToSign item collection with the certificate specified by the Certificate property.

<Project xmlns="">

        <FileToSign Include="File.exe" />


    <Target Name="Sign">
            SigningTarget="@(FileToSign)" />

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft