Share via


Signing an Application During Day-to-Day Development

Send Feedback

Visual Studio 2005 provides a UI that you can use to set up your application to be signed automatically as part of the build process.

To sign a C or C++ application

  1. On the Project menu, click Properties.
  2. Click Authenticode Signing.
  3. For the Authenticode Signature property, click Yes.
  4. For the Certificate property, click the Ellipses (...) button.
  5. In the Select Certificate dialog box, do one of the following:
    • If the certificate you want appears in the list, select it, and then click OK.

    • If the certificate you want does not appear in the list, click Manage Certificates to open the Manage Certificates dialog box. Use this dialog box to import one of the SDK certificates (or import the certificate an OEM or mobile operator gave you as part of its developer program).

      Note   Be sure to use the *.pfx file, not the *.cer file.

  6. On the Authenticode Signing page, click OK.

To sign a C# or Visual Basic .NET application

  1. In Solution Explorer, right-click the project, and then click Properties.
  2. Click the Devices tab.
  3. Select the Authenticode Signature check box.
  4. Click Select Certificate.
  5. Do one of the following:
    • In the Select Certificate dialog box, if the certificate you want appears in the list, select it, and then click OK.

    • If the certificate you want does not appear in the list, click Manage Certificates to open the Manage Certificates dialog box. Use this dialog box to import one of the SDK certificates (or import the certificate an OEM or mobile operator gave you as part of its developer program).

      Note   Be sure to use the *.pfx file, not the *.cer file.

  6. On the Authenticode Signing page, click OK.

See Also

Revoking Applications

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.