...
- Create a code signing certificate and add it to the Windows cert store (See informational note below on the 'Powershell command')
- Add the certificate into View > Security Screen > User > Digital Signature
- Select the "Enforce signing of compiled libraries" on that same screen
- Save as compiled library
...