How to: Sign the Project Output in a Visual C++ Project (Devices)

The following steps assume you have a Smart Device Visual C++ project in your solution. For more information, see Programming for Devices Using Visual C++.

Note

The dialog boxes and menu commands you see might differ from those described in Help depending on your active settings or edition. To change your settings, choose Import and Export Settings on the Tools menu. For more information, see Visual Studio Settings.

To sign project output in a Visual C++ device project

  1. In Solution Explorer, right-click the Visual C++ project, and then on the shortcut menu, click Properties.

  2. Expand the Authenticode Signing page.

  3. For the Authenticode Signature property, select Yes.

  4. For the Certificate property, click the ellipsis button ().

  5. In the Select Certificate dialog box:

    • If the certificate you want appears in the list, select it, and then click OK to close the dialog box.

    • If the certificate you want does not appear in the list, click Manage Certificates to open the Manage Certificates dialog box. For more information, see How to: Import and Apply Certificates in Device Projects.

      When you have finished acquiring your certificate, click OK in the Select Certificate dialog box. The certificate appears in the Certificate row of the Authenticode Signing page.

  6. On the Authenticode Signing page, click OK.

See Also

Other Resources

Security in Device Projects