This documentation is archived and is not being maintained.

How to: Sign a Visual Basic or Visual C# Application (Devices) 

The following steps assume you have a Smart Device Visual Basic or Visual C# project in your solution. For more information, see Programming for Devices Using the .NET Compact Framework.

These steps are the same for both EXE and DLL projects.


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 a Visual Basic or Visual C# device project

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

  2. On the Devices page, click Authenticode Signature.

  3. Click Select Certificate.

  4. In the Select Certificate dialog box:

    • If the certificate you want is displayed 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. Certificate details appear in the Application Signing window of the Devices page.

See Also