【发布时间】:2025-12-14 06:05:01
【问题描述】:
我将SmartAssembly 用于一般代码混淆以及应用程序中的错误报告。
如果我的应用程序遇到未处理的异常,我希望记录该异常,然后在没有任何用户交互的情况下终止应用程序。是否可以创建一个允许这样做的 SmartAssembly 项目?
我尝试在 SmartAssembly GUI 以及 the command-line 上设置项目,但没有成功。下面是我尝试过的命令和参数,但到目前为止,我无法确定如何让它在没有用户输入的情况下终止应用程序并记录错误。
创建 SA 项目:
"C:\Program Files\Red Gate\SmartAssembly 6\SmartAssembly.com"
/create shell.saproj input=C:\Repositories\MyApp\src\shell.exe
/output=shell.exe
/reportappname="MyTestApp"
/errorreportingtemplate=standard;continueonerror=false,email:"my@email.com"
/reportprojectname="Shell"
/reportcompanyname="My Company"
构建项目:
"C:\Program Files\Red Gate\SmartAssembly 6\SmartAssembly.com" /build shell.saproj
【问题讨论】:
标签: obfuscation error-reporting redgate smartassembly