This post shows you How to solve the problem "An error occurred while signing: Failed to sign bin\Debug\app.publish\setup.exe".
Click Once Error:
Severity Code Description Project File Line Suppression State Error An error occurred while signing: Failed to sign bin\x86\Debug\app.publish\Client.exe. SignTool Error: No certificates were found that met all the given criteria.
To fix the problem you need to right-click on your project, then select the Properties from menu->Click Signing tab->Uncheck Sign the ClickOnce manifests