在 vs2008 中通过 post build 选项通过 dotfuscator 保护 exe
我是 Dotfuscator 的新手。 我想通过 Visual Studio2008 中的 dotfuscator 使用构建后选项来保护我的 .exe 文件。但我无法执行此操作 好的,我在构建后选项中使用命令,例如 “dotfuscator C:\Users\Administrator\Desktop\Hello\Hello\bin\x86\Debug\Hello.exe” 但 VS2008 显示错误“命令”dotfuscator C:\Users\Administrator\Desktop\Hello\Hello\bin\x86\Debug\Hello.exe” 退出,代码为 9009”。 我应该怎么办。
I am new to Dotfuscator.
I want to protect my .exe file through dotfuscator in visual studio2008 using post build option.But I am unable to do this
ok,I am using the command in post build option like
"dotfuscator C:\Users\Administrator\Desktop\Hello\Hello\bin\x86\Debug\Hello.exe"
but VS2008 show the error the "The command "dotfuscator C:\Users\Administrator\Desktop\Hello\Hello\bin\x86\Debug\Hello.exe"
exited with code 9009".
What should I do.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
Tr 在与源根目录 (C:\Users\Administrator\Desktop\Hello\Hello) 相同的目录中创建 myDotfuscatorConfig.xml,如下所示:
然后,执行 dotfuscator.exe 并将配置文件的名称作为争论。如果这在命令行中工作正常,那么将其添加为构建后操作应该很简单。
Tr creating a myDotfuscatorConfig.xml in the same directory as your source root (C:\Users\Administrator\Desktop\Hello\Hello), looking something like this:
Then, execute dotfuscator.exe and pass the name of the config file as the argument. If this works ok from the commandline, adding it as a post-build action should be trivial.
Anders 是正确的,创建一个配置文件并通过命令行将其发送到 Dotfuscator 是正确的方法。但是,您需要在 http://www.preemptive.com 注册一个帐户并下载最新的Dotfuscator CE 补丁,包括命令行支持。 Visual Studio 附带的版本不支持全自动命令行模式。安装更新版本后,您应该能够毫无问题地运行“dotfuscator.exe”。
Anders is correct, creating a config file and sending that to Dotfuscator via the command line is the way to go. However, you'll need to register for an account at http://www.preemptive.com and download the latest Dotfuscator CE patch that includes command-line support. The version that comes with Visual Studio does not support a fully-automated command line mode. Once you have the updated version installed, you should be able to run "dotfuscator.exe " without issue.