一般的なコードの難読化と、アプリケーションでのエラー報告の両方にSmartAssemblyを使用しています。
アプリケーションで未処理の例外が発生した場合、例外をログに記録し、ユーザーの操作なしでアプリケーションを終了したいと考えています。これを可能にする SmartAssembly プロジェクトを作成することは可能ですか?
SmartAssembly GUI とコマンドラインでプロジェクトを設定しようとしましたが、うまくいきませんでした。以下は私が試したコマンドと引数ですが、これまでのところ、ユーザー入力なしでアプリを終了し、エラーをログに記録する方法を特定できません。
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