NX二次开发编译时自动数字签名及拷贝
前言
“NXOpen application must be signed before its release. If not signed the application may not get executed.
For more details on signing the application refer to NXOpen Programmer’s Guide.”
以上为西门子的提示,数字签名方法及必要性不多说,只说怎样在编译的同时对编译完成后的应用程序进行数字签名、拷贝到指定文件夹
C++程序方法:
项目属性->生成事件->后期生成事件->命令行“编辑”,上图!
第一行执行签名,第二行执行拷贝
C# 程序方法:
项目属性->生成事件->后期生成事件命令行。
上图“ signcpp.exe ”改成" SignDotNet.exe " ,其余一样