On the File menu, click Save All.
In Solution Explorer, right-click the Smart Device Cab project, and then click Properties on the shortcut menu.
On the Build page, select Authenticode Signature, and the Click Select from Store button.
In the Select Certificate dialog box, select the certificate you want to use and click OK.
If you don't have any visible certificates, click Manage Certificates to open the Manage Certificates dialog box. If you have a certificate on your system you wish to use, you can import it using the Import wizard. However, if you haven't created a certificate on this system before, you can do so from the command line. From the C:\Program Files\ Microsoft Visual Studio 9.0\SDK\v3.5\bin directory (or your local equivalent) issue the following command:
makecert -r -pe -n "CN=Your Name" -b 01/01/2000 -e 01/01/2099 -eku 126.96.36.199.188.8.131.52.3^ -ss My
Exit the Manage Certificates window and select the new certificate when it appears in the Select Certificate window, then click OK. The certificate will be displayed in the Certificate box of the Build page.
On the Build page, click OK.
On the Build menu, click Build CABProject.
Right-click CABProject in Solution Explorer, and click Build.
Was this article helpful?