Problem and error description

The following steps are required when signing a compiled library with a Digital Signature is requested.

Step-by-step guide

  1. Create a code signing certificate and add it to the Windows cert store (See informational note below on the 'Powershell command')
  2. Add the certificate into View > Security Screen > User > Digital Signature

  3. Select the "Enforce signing of compiled libraries" on that same screen
  4. Save as compiled library

$cert = New-SelfSignedCertificate -DNSName "www.self.signed" -CertStoreLocation Cert:\CurrentUser\My -Type CodeSigningCert -Subject "But surely you have your own CA signed code signing cert"