鼠标右键需要签名的项目->属性->配置属性->生成事件->生成后事件->命令行:
signtool sign -f D:\avcon.pfx -p globalsign123 -v /t http://timestamp.globalsign.com/scripts/timstamp.dll ../bin/Release/HPMeeting.dll
PS:
D:\avcon.pfx 表示数字签名的证书文件
globalsign123 密码
http://timestamp.globalsign.com/scripts/timstamp.dll 获取时间戳地址
../bin/Release/HPMeeting.dll 需要签名的文件