巡航控制和混淆,如何进行?
这是我向 stackoverflow 提出的第一个问题,所以就这样...
我使用巡航控制来实现我的持续集成方案,我想使用混淆来为我的程序集添加另一个保护层。 问题是我不知道如何去做,因为我找不到描述这一点的文章。 包含其他 CI 工具(例如 NAnt)的建议也被接受。
商业工具也是一种选择,因此请毫不犹豫地将它们包含在您的答案中。 我正在构建并想要混淆的应用程序大多是用 Compact Framework 2.0、Dot Net 2.0-3.5 编写的。
目前 Cruise Control 检查存储库中的更改,然后根据特定解决方案的脚本下载并使用 devenv 构建项目,运行安装项目后,它将安装文件复制到不同的文件夹中,这就是更多或少一点。 所以我需要在这个过程中的某个地方进行混淆。
this is my first question to stackoverflow so here it goes...
I use cruise control for my continuous integration scheme, i want to use obfuscation in order to add another protection layer to my assemblies. The thing is that i don't know how to go about it since i couldn't find articles describing about this. Suggestions that include other CI tools such as NAnt are also accepted.
Commercial tools are also an option so don't hesitate to include them in your answer. The applications that i am building and want to obfuscate are mostly written in Compact Framework 2.0, Dot Net 2.0-3.5.
At the moment cruise control checks for changes in the repository, then based on the script for the specific solution downloads and builds the project by using devenv, after the setup project has been run it copies the setup file into a different folder and thats more or less it. So i need obfuscate somewhere in this process..
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
@konstantinos.konstantinidis.myopenid.com:您的问题似乎与安装项目有关,而不是持续集成服务器。
您让设置项目获取项目的主要输出。
将其更改为使用输出的文件引用。 在设置项目中需要进行更多配置,但我认为您仍然可以实现所有相同的功能。
这样,您就可以从混淆工具将其转储到的任何暂存目录中获取混淆的程序集。
@konstantinos.konstantinidis.myopenid.com: your problem seems to be with the setup project not the continuous integration server.
You have the setup project picking up the primary outputs for the project.
Change it to use file references to the outputs. It's a little more configuration in the setup project but I think you can still achieve all the same functionality.
That way you can pick up your obfuscated assemblies from whatever staging directory your obfuscation tool is dumping them into.
很高兴听到有人正在使用 CruiseControl.NET。 这是一个很好的工具。 您可以使用 RemoteSoft .NET Obfuscator 等命令行工具进行混淆,并在构建脚本中集成对该工具的调用。 请参阅下面来自 CruiseControl.NET wiki 的有关如何执行文件的示例。
http://www.remotesoft.com/salamander/obfuscator.html
Nice to hear someone is using CruiseControl.NET. That is a nice tool. You can use a command line tool for obfuscation as RemoteSoft .NET Obfuscator and integrate a call to the tool in the build script. See example on how to execute a file below from CruiseControl.NET wiki.
http://www.remotesoft.com/salamander/obfuscator.html