A few possible reasons for this one:
- Your cert may no longer be in the certificate store - perhaps because you reinstalled windows, or because you have moved to a new machine.
- You have setup signing under "Signing" settings in your project properties, but haven't generated the certificate using "Create Test Certificate".
- If your certificate was selected as a file, the file may have been deleted.
But whether you are using your own certificate, or the certificate was created by Visual Studio, you should have a *.pfx file in your project. Try doing the following:
- Right click your project in the Solution Explorer and click properties.
- Click on the Signing tab.
- Make sure "Sign the ClickOnce manifests" is checked.
- Clcik Create Test Certificate to generate a certificate, or choose one form a file, or your certificate store.
- Click the "Select from File..." button, and select the *.pfx file in your project.
Hopefully, this will fix the problem.