Sign ClickOnce manifests with Visual Studio using KSP library
Visual Studio is an an Integrated Development Environment (IDE) for software development on the Windows platform. It provides a user-friendly interface for writing, compiling, testing, and debugging code. Visual Studio supports multiple programming languages, including C++, C#, Visual Basic, and more.
Follow these instructions to sign with Visual Studio and securely reference your private key stored in Software Trust Manager.
Requirements
Download and configure Software Trust Manager clients
Load your certificates on the signing server.
Sign
After creating your project in the Visual Studio application:
Select Start.
Select Debug Properties.
In the Debug Window, select Signing in the navigation panel.
Select Sign the ClickOnce manifests.
Choose Select from Store.
If your signing server already has the DigiCert® Software Trust Manager software and certificates loaded, you will see a new window that allows you to choose a certificate.
In the Timestamp server URL field, enter http://timestamp.digicert.com.
Select Publish.
Choose the Publishing Folder Location.
Select Publish Now.
Verify signature
To verify that your application is signed:
Navigate to the location where you saved the project.
Go to the file properties.
Select Digital Signatures.
Select Details.
You can view the certificate and timestamp details from here.